Clippy
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 2m1s
Cargo CI / Lint (pull_request) Successful in 1m8s

This commit is contained in:
Wojciech Kozlowski 2024-08-31 22:50:39 +02:00
parent e8b5532a1b
commit be9901cb24

View File

@ -76,7 +76,7 @@ fn from_search_artist_response_artist(entity: SearchArtistResponseArtist) -> Mat
Match { Match {
score: entity.score, score: entity.score,
item: ArtistMeta { item: ArtistMeta {
id: entity.name.into(), id: entity.name,
sort: entity.sort.map(Into::into), sort: entity.sort.map(Into::into),
musicbrainz: Some(entity.id.into()), musicbrainz: Some(entity.id.into()),
properties: HashMap::new(), properties: HashMap::new(),
@ -91,7 +91,7 @@ fn from_search_release_group_response_release_group(
Match { Match {
score: entity.score, score: entity.score,
item: AlbumMeta { item: AlbumMeta {
id: entity.title.into(), id: entity.title,
date: entity.first_release_date, date: entity.first_release_date,
seq: AlbumSeq::default(), seq: AlbumSeq::default(),
musicbrainz: Some(entity.id.into()), musicbrainz: Some(entity.id.into()),