tsk-72: Code formatting
Some checks failed
Release Tagging / release (pull_request) Successful in 36s
Rust Build / Rustfmt (pull_request) Successful in 30s
Rust Build / Clippy (pull_request) Successful in 35s
Rust Build / build (pull_request) Successful in 30s
Rust Build / Check (pull_request) Successful in 30s
Rust Build / Test Suite (pull_request) Failing after 32s

This commit is contained in:
2025-10-18 20:13:08 -04:00
parent 1f047f60d6
commit fb554251f9

View File

@@ -31,16 +31,14 @@ impl CoverArt {
/// Saves the coverart to the filesystem /// Saves the coverart to the filesystem
pub fn save_to_filesystem(&self) -> Result<(), std::io::Error> { pub fn save_to_filesystem(&self) -> Result<(), std::io::Error> {
match self.get_path() { match self.get_path() {
Ok(path) => { Ok(path) => match std::fs::File::create(&path) {
match std::fs::File::create(&path) {
Ok(mut file) => match file.write_all(&self.data) { Ok(mut file) => match file.write_all(&self.data) {
Ok(_) => Ok(()), Ok(_) => Ok(()),
Err(err) => Err(err), Err(err) => Err(err),
}, },
Err(err) => Err(err), Err(err) => Err(err),
} },
} Err(err) => Err(err),
Err(err) => Err(err)
} }
} }
@@ -60,7 +58,7 @@ impl CoverArt {
)) ))
} }
} }
Err(err) => Err(err) Err(err) => Err(err),
} }
} }
@@ -105,7 +103,7 @@ pub mod io {
Err(err) => Err(err), Err(err) => Err(err),
} }
} }
Err(err) => Err(err) Err(err) => Err(err),
} }
} }
} }