diff --git a/src/core/collection/artist.rs b/src/core/collection/artist.rs index 209148c..1ab01b1 100644 --- a/src/core/collection/artist.rs +++ b/src/core/collection/artist.rs @@ -54,7 +54,7 @@ impl Artist { } } - fn merge_album_with_lib_id( + fn merge_album_by_lib_id( primary_albums: &mut [Album], mut secondary_album: Album, ) -> Option { @@ -76,7 +76,7 @@ impl Artist { ) -> HashMap> { let mut secondary_without_id = HashMap::>::new(); for secondary_album in secondary_albums.drain(..) { - let unmerged = Artist::merge_album_with_lib_id(primary_albums, secondary_album); + let unmerged = Artist::merge_album_by_lib_id(primary_albums, secondary_album); if let Some(secondary_album) = unmerged { secondary_without_id .entry(secondary_album.meta.id.title.clone())