Code formatting
All checks were successful
Rust Build / Check (pull_request) Successful in 24s
Rust Build / Test Suite (pull_request) Successful in 25s
Rust Build / Rustfmt (pull_request) Successful in 22s
Rust Build / Clippy (pull_request) Successful in 26s
Rust Build / build (pull_request) Successful in 28s

This commit is contained in:
2025-06-20 20:35:39 -04:00
parent 474dde4445
commit bf2425d6af

View File

@@ -220,14 +220,16 @@ pub mod metadata {
} }
}; };
match vb.save_to_path(filepath, lofty::config::WriteOptions::default()) { match vb.save_to_path(filepath, lofty::config::WriteOptions::default())
{
Ok(res) => { Ok(res) => {
println!("Result: {:?}", res); println!("Result: {:?}", res);
Ok(value.to_owned()) Ok(value.to_owned())
} }
Err(err) => { Err(err) => Err(std::io::Error::new(
Err(std::io::Error::new(std::io::ErrorKind::InvalidData, err.to_string())) std::io::ErrorKind::InvalidData,
} err.to_string(),
)),
} }
} }
None => Err(std::io::Error::new( None => Err(std::io::Error::new(