1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-06 19:21:43 +00:00

Run cargo clippy --fix --all-targets --all-features with Rust 1.57

Clippy in the newly released Rust 1.57 found some new lints. Conveniently, all
of them were fixable with `--fix`.
This commit is contained in:
Martin Nordholts
2021-12-08 08:29:10 +01:00
parent 7fceb4878f
commit e250da8aaa
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ fn get_args_from_str(content: &str) -> Result<Vec<OsString>, shell_words::ParseE
.map(|line| line.trim())
.filter(|line| !line.is_empty())
.filter(|line| !line.starts_with('#'))
.map(|line| shell_words::split(line))
.map(shell_words::split)
.collect::<Result<Vec<_>, _>>()?;
Ok(args_per_line