From 6d2e2cb8500ccb1890bead9a266f43a71d227f9a Mon Sep 17 00:00:00 2001 From: phoenix Date: Fri, 24 Oct 2025 12:43:23 -0400 Subject: [PATCH] tsk-76: Warning fix --- src/coverart.rs | 2 +- src/song.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coverart.rs b/src/coverart.rs index 23c3740..c74752f 100644 --- a/src/coverart.rs +++ b/src/coverart.rs @@ -80,7 +80,7 @@ impl CoverArt { let directory = &self.directory; let last_index = directory.len() - 1; - match crate::util::concatenate_path(&directory, &self.filename, last_index) { + match crate::util::concatenate_path(directory, &self.filename, last_index) { Ok(path) => Ok(path), Err(err) => Err(err), } diff --git a/src/song.rs b/src/song.rs index cf22272..8e734e6 100644 --- a/src/song.rs +++ b/src/song.rs @@ -84,7 +84,7 @@ impl Song { let directory = &self.directory; let last_index = directory.len() - 1; - match crate::util::concatenate_path(&directory, &self.filename, last_index) { + match crate::util::concatenate_path(directory, &self.filename, last_index) { Ok(path) => Ok(path), Err(err) => Err(err), }