Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rj00a committed Jan 31, 2024
1 parent 7182e36 commit 329302b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fn iter_bevy(bencher: Bencher) {
let mut sched = Schedule::new(Whatever);

sched.add_systems(|mut q: Query<&mut Data>| {
for mut data in q.iter_mut() {
for mut data in &mut q {
data.bypass_change_detection().0 = data.0.sqrt();
}
});
Expand Down

0 comments on commit 329302b

Please sign in to comment.