1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 03:12:25 +01:00

Fix clippy::needless_borrows_for_generic_args warnings

This commit is contained in:
einfachIrgendwer0815
2025-01-30 18:06:42 +01:00
parent db812e1179
commit 6cf747678c
2 changed files with 5 additions and 5 deletions

View File

@@ -509,7 +509,7 @@ mod tests {
ThemePreference::Light,
];
for pref in prefs {
assert_eq!(pref, ThemePreference::new(&pref.to_string()));
assert_eq!(pref, ThemePreference::new(pref.to_string()));
}
}
}