tsk-76: Warning fix
All checks were successful
Rust Build / Rustfmt (pull_request) Successful in 29s
Rust Build / Check (pull_request) Successful in 35s
Rust Build / Test Suite (pull_request) Successful in 34s
Rust Build / Clippy (pull_request) Successful in 22s
Rust Build / build (pull_request) Successful in 1m1s

This commit is contained in:
2025-10-24 12:43:23 -04:00
parent fb7332e9ca
commit 6d2e2cb850
2 changed files with 2 additions and 2 deletions

View File

@@ -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),
}

View File

@@ -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),
}