Warning changes
All checks were successful
Rust Build / Check (pull_request) Successful in 27s
Rust Build / Test Suite (pull_request) Successful in 28s
Rust Build / Rustfmt (pull_request) Successful in 26s
Rust Build / Clippy (pull_request) Successful in 28s
Rust Build / build (pull_request) Successful in 33s

This commit is contained in:
2025-07-04 16:45:02 -04:00
parent 6c6c22c834
commit 0bfdf8d827

View File

@@ -56,13 +56,11 @@ pub mod test_util {
pub fn get_filename(track: i32) -> String {
const FLAC_EXTENSION: &str = ".flac";
let filename = if track < 10 {
format!("track0{}{}", track, FLAC_EXTENSION)
if track < 10 {
format!("track0{track}{FLAC_EXTENSION}")
} else {
format!("track{}{}", track, FLAC_EXTENSION)
};
filename
format!("track{track}{FLAC_EXTENSION}")
}
}
}
}