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
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:
@@ -80,7 +80,7 @@ impl CoverArt {
|
|||||||
let directory = &self.directory;
|
let directory = &self.directory;
|
||||||
let last_index = directory.len() - 1;
|
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),
|
Ok(path) => Ok(path),
|
||||||
Err(err) => Err(err),
|
Err(err) => Err(err),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ impl Song {
|
|||||||
let directory = &self.directory;
|
let directory = &self.directory;
|
||||||
let last_index = directory.len() - 1;
|
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),
|
Ok(path) => Ok(path),
|
||||||
Err(err) => Err(err),
|
Err(err) => Err(err),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user