chore: fix clippy lints

This commit is contained in:
ThetaDev 2024-05-02 19:39:48 +02:00
parent b73ea3741a
commit cf3b84fe70
10 changed files with 21 additions and 18 deletions

View file

@ -721,7 +721,7 @@ impl MusicListMapper {
.unwrap_or_default()
}))
{
artists = fb_artists.clone();
artists.clone_from(fb_artists);
}
}
@ -787,7 +787,7 @@ impl MusicListMapper {
// fall back to menu data
if let Some(a1) = artists.first_mut() {
if a1.id.is_none() {
a1.id = artist_id.clone();
a1.id.clone_from(&artist_id);
}
}