diff --git a/shanty-playlist/src/scoring.rs b/shanty-playlist/src/scoring.rs index 60def05..908aee1 100644 --- a/shanty-playlist/src/scoring.rs +++ b/shanty-playlist/src/scoring.rs @@ -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) }) });