Fix warning

This commit is contained in:
sharkdp 2019-05-14 23:42:23 +02:00
parent 51e05499a9
commit 9d53ce6be6

View File

@ -113,7 +113,7 @@ pub fn list_languages(config: &Config) -> Result<()> {
if config.loop_through {
for lang in languages {
write!(stdout, "{}:{}\n", lang.name, lang.file_extensions.join(","));
write!(stdout, "{}:{}\n", lang.name, lang.file_extensions.join(","))?;
}
} else {
let longest = languages