chore(clippy): config, dialog, menu

Fixes Clippy lints for:
* src/config.rs
* src/dialog.rs
* src/menu.rs
This commit is contained in:
Josh Megnauth 2025-01-20 02:48:55 -05:00 committed by Jeremy Soller
parent 8ff54d1522
commit dddfc8a673
3 changed files with 41 additions and 51 deletions

View file

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