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
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:
10
src/meta.rs
10
src/meta.rs
@@ -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) => {
|
||||
println!("Result: {:?}", res);
|
||||
Ok(value.to_owned())
|
||||
}
|
||||
Err(err) => {
|
||||
Err(std::io::Error::new(std::io::ErrorKind::InvalidData, err.to_string()))
|
||||
}
|
||||
Err(err) => Err(std::io::Error::new(
|
||||
std::io::ErrorKind::InvalidData,
|
||||
err.to_string(),
|
||||
)),
|
||||
}
|
||||
}
|
||||
None => Err(std::io::Error::new(
|
||||
|
Reference in New Issue
Block a user