mirror of
https://github.com/sharkdp/bat
synced 2026-08-10 20:01:45 +00:00
Fix clippy::needless_update warnings
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user