mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-12 16:08:38 +00:00
Fix clippy::needless_update
warnings
This commit is contained in:
parent
625e986552
commit
bc24ce9ad4
@ -383,7 +383,6 @@ mod tests {
|
|||||||
theme: ThemePreference::Fixed(ThemeName::Named("Theme".to_string())),
|
theme: ThemePreference::Fixed(ThemeName::Named("Theme".to_string())),
|
||||||
theme_dark: Some(ThemeName::Named("Dark Theme".to_string())),
|
theme_dark: Some(ThemeName::Named("Dark Theme".to_string())),
|
||||||
theme_light: Some(ThemeName::Named("Light Theme".to_string())),
|
theme_light: Some(ThemeName::Named("Light Theme".to_string())),
|
||||||
..Default::default()
|
|
||||||
},
|
},
|
||||||
] {
|
] {
|
||||||
let detector = ConstantDetector(color_scheme);
|
let detector = ConstantDetector(color_scheme);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user