mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-29 19:23:34 +01:00
Fix warning
This commit is contained in:
parent
51e05499a9
commit
9d53ce6be6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user