chore: fix clippy lints
This commit is contained in:
parent
5dbb288a49
commit
45b9f2a627
10 changed files with 21 additions and 18 deletions
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue