Clippy
This commit is contained in:
parent
526f77ea50
commit
e9eeef94b8
@ -2028,7 +2028,7 @@ mod tests {
|
||||
// The result of the merge should be the same list of artists, but with the last artist now
|
||||
// in first place.
|
||||
let mut expected = left.to_owned();
|
||||
expected.last_mut().map(|a| a.sort = artist_sort.clone());
|
||||
expected.last_mut().as_mut().unwrap().sort = artist_sort.clone();
|
||||
expected.rotate_right(1);
|
||||
|
||||
let mut merged = left.clone();
|
||||
|
Loading…
Reference in New Issue
Block a user