From beb80b87703bb7f7e1d1f40e8561f81df7378374 Mon Sep 17 00:00:00 2001 From: Connor Johnstone Date: Wed, 1 Apr 2026 22:44:23 -0400 Subject: [PATCH] clippy fix --- shanty-playlist/src/scoring.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }) });