clippy fix
This commit is contained in:
@@ -78,7 +78,7 @@ pub fn score_tracks(
|
||||
local.starts_with(top_name.as_str())
|
||||
|| top_name.starts_with(local.as_str())
|
||||
})
|
||||
.max_by_key(|(_, &pc)| pc)
|
||||
.max_by_key(|&(_, &pc)| pc)
|
||||
.map(|(_, &pc)| pc)
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user