Fix a new clippy lint
Some checks failed
Cargo CI / Lint (pull_request) Failing after 1m4s
Cargo CI / Build and Test (pull_request) Successful in 1m55s

This commit is contained in:
Wojciech Kozlowski 2024-08-24 14:39:58 +02:00
parent c195655089
commit 02fdb1b55e

View File

@ -160,7 +160,6 @@ impl<BLE: IBeetsLibraryExecutor> BeetsLibrary<BLE> {
let track_number = split[6].parse::<u32>()?; let track_number = split[6].parse::<u32>()?;
let track_title = split[7].to_string(); let track_title = split[7].to_string();
let track_artist = split[8] let track_artist = split[8]
.to_string()
.split("; ") .split("; ")
.map(|s| s.to_owned()) .map(|s| s.to_owned())
.collect(); .collect();