Remove unnecessary borrows
This produces an `unused_must_use` warning on nightly: https://github.com/rust-lang/rust/pull/86426
This commit is contained in:
parent
c6dd5da5e6
commit
a533e4d7bb
3 changed files with 3 additions and 3 deletions
|
|
@ -586,7 +586,7 @@ where
|
|||
break;
|
||||
}
|
||||
if i > 0 {
|
||||
&self.layers[0..(i + 1)].rotate_left(1);
|
||||
self.layers[0..(i + 1)].rotate_left(1);
|
||||
}
|
||||
break;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue