Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Sep 30, 2023
1 parent 33d834a commit 987a148
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/plugin/systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,7 @@ pub fn writeback_rigid_bodies(
return;
}

for (handle, rb) in context
.bodies
.iter()
.filter(|(_, body)| body.is_enabled())
{
for (handle, rb) in context.bodies.iter().filter(|(_, body)| body.is_enabled()) {
let Some(entity) = context.rigid_body_entity(handle) else {
continue;
};
Expand Down

0 comments on commit 987a148

Please sign in to comment.