chore(clippy): config, dialog, menu
Fixes Clippy lints for: * src/config.rs * src/dialog.rs * src/menu.rs
This commit is contained in:
parent
8ff54d1522
commit
dddfc8a673
3 changed files with 41 additions and 51 deletions
|
|
@ -68,7 +68,7 @@ impl Favorite {
|
|||
Self::Videos,
|
||||
] {
|
||||
if let Some(favorite_path) = favorite.path_opt() {
|
||||
if &favorite_path == &path {
|
||||
if favorite_path == path {
|
||||
return favorite.clone();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue