mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-18 10:41:05 +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 {
|
if config.loop_through {
|
||||||
for lang in languages {
|
for lang in languages {
|
||||||
write!(stdout, "{}:{}\n", lang.name, lang.file_extensions.join(","));
|
write!(stdout, "{}:{}\n", lang.name, lang.file_extensions.join(","))?;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let longest = languages
|
let longest = languages
|
||||||
|
Loading…
Reference in New Issue
Block a user