Update rust toolchain to 1.80 #180
5
src/external/library/beets/mod.rs
vendored
5
src/external/library/beets/mod.rs
vendored
@ -159,10 +159,7 @@ impl<BLE: IBeetsLibraryExecutor> BeetsLibrary<BLE> {
|
||||
let album_title = split[5].to_string();
|
||||
let track_number = split[6].parse::<u32>()?;
|
||||
let track_title = split[7].to_string();
|
||||
let track_artist = split[8]
|
||||
.split("; ")
|
||||
.map(|s| s.to_owned())
|
||||
.collect();
|
||||
let track_artist = split[8].split("; ").map(|s| s.to_owned()).collect();
|
||||
let track_format = match str_to_format(split[9].to_string().as_str()) {
|
||||
Some(format) => format,
|
||||
None => return Err(Error::Invalid(line.to_string())),
|
||||
|
Loading…
Reference in New Issue
Block a user