Skip to content

Commit

Permalink
Make mut-correct
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Aug 4, 2024
1 parent 334a883 commit bc9ad76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn respond_to_mouse_move(
#[cfg(test)]
fn count_n_players(app: &mut App) -> usize {
let mut query = app.world_mut().query::<&Player>();
return query.iter(app.world_mut()).len();
return query.iter(app.world()).len();
}

#[cfg(test)]
Expand Down

0 comments on commit bc9ad76

Please sign in to comment.