From 290db5ce103531d4a9abd3a269b01d6c1d9fafcf Mon Sep 17 00:00:00 2001 From: phoenix Date: Sat, 11 Oct 2025 16:32:13 -0400 Subject: [PATCH] Wanring fix --- src/song.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/song.rs b/src/song.rs index 183d08b..7ebc487 100644 --- a/src/song.rs +++ b/src/song.rs @@ -113,7 +113,7 @@ impl Song { Ok(song_path) => { let p = std::path::Path::new(&song_path); if p.exists() { - match std::fs::remove_file(&p) { + match std::fs::remove_file(p) { Ok(_) => Ok(()), Err(err) => Err(err), }