mirror of
https://github.com/sharkdp/bat
synced 2026-08-04 19:01:44 +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:
+1
-1
@@ -307,7 +307,7 @@ impl App {
|
||||
.map(|style_str| {
|
||||
style_str
|
||||
.split(',')
|
||||
.map(|x| StyleComponent::from_str(x))
|
||||
.map(StyleComponent::from_str)
|
||||
.collect::<Result<Vec<StyleComponent>>>()
|
||||
})
|
||||
.transpose()?;
|
||||
|
||||
Reference in New Issue
Block a user