1
0
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:
einfachIrgendwer0815 2025-01-30 18:23:42 +01:00
parent 625e986552
commit bc24ce9ad4
No known key found for this signature in database
GPG Key ID: 58D55E5F117DA873

View File

@ -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);