Lints
This commit is contained in:
parent
f674b4c3b7
commit
bbafe65881
@ -76,8 +76,8 @@ impl<'a> ArtistOverlay<'a> {
|
|||||||
Properties: {}",
|
Properties: {}",
|
||||||
artist.map(|a| a.meta.id.name.as_str()).unwrap_or(""),
|
artist.map(|a| a.meta.id.name.as_str()).unwrap_or(""),
|
||||||
artist
|
artist
|
||||||
.and_then(|a| Some(UiDisplay::display_mb_ref_option_as_url(&a.meta.musicbrainz)))
|
.map(|a| UiDisplay::display_mb_ref_option_as_url(&a.meta.musicbrainz))
|
||||||
.unwrap_or(""),
|
.unwrap_or_default(),
|
||||||
Self::opt_hashmap_to_string(
|
Self::opt_hashmap_to_string(
|
||||||
artist.map(|a| &a.meta.properties),
|
artist.map(|a| &a.meta.properties),
|
||||||
&double_item_indent,
|
&double_item_indent,
|
||||||
@ -104,8 +104,8 @@ impl<'a> AlbumOverlay<'a> {
|
|||||||
MusicBrainz: {}",
|
MusicBrainz: {}",
|
||||||
album.map(|a| a.meta.id.title.as_str()).unwrap_or(""),
|
album.map(|a| a.meta.id.title.as_str()).unwrap_or(""),
|
||||||
album
|
album
|
||||||
.and_then(|a| Some(UiDisplay::display_mb_ref_option_as_url(&a.meta.musicbrainz)))
|
.map(|a| UiDisplay::display_mb_ref_option_as_url(&a.meta.musicbrainz))
|
||||||
.unwrap_or(""),
|
.unwrap_or_default(),
|
||||||
));
|
));
|
||||||
|
|
||||||
AlbumOverlay { properties }
|
AlbumOverlay { properties }
|
||||||
|
Loading…
Reference in New Issue
Block a user