mirror of
https://github.com/sharkdp/bat
synced 2026-08-02 18:41:42 +00:00
Fix clippy::needless_borrows_for_generic_args warnings
This commit is contained in:
+1
-1
@@ -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()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user