Fix CI with latest nightly Clippy (#271)

This commit is contained in:
Jay Oster 2022-04-25 03:48:35 -07:00 committed by GitHub
parent 94b87496c3
commit 2e7c822091
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -620,7 +620,7 @@ fn make_invader_grid(assets: &Assets) -> Vec<Vec<Option<Invader>>> {
}
fn next_invader<'a>(
invaders: &'a mut Vec<Vec<Option<Invader>>>,
invaders: &'a mut [Vec<Option<Invader>>],
stepper: &mut Point,
) -> (&'a mut Invader, bool) {
let mut is_leader = false;