chore: fix clippy lints

This commit is contained in:
ThetaDev 2024-05-02 19:39:48 +02:00
parent 5dbb288a49
commit 45b9f2a627
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
10 changed files with 21 additions and 18 deletions

View file

@ -429,7 +429,7 @@ fn deobf_nsig(
} else {
let nsig = deobf.deobfuscate_nsig(n)?;
last_nsig[0] = n.to_string();
last_nsig[1] = nsig.clone();
last_nsig[1].clone_from(&nsig);
nsig
};

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);
}
}