mirror of
https://github.com/sharkdp/bat
synced 2024-11-15 16:38:06 +00:00
Fix warning
This commit is contained in:
parent
51e05499a9
commit
9d53ce6be6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue