Skip to content

Commit

Permalink
add missing fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
xMAC94x committed Jul 2, 2022
1 parent 3b04f95 commit d0fea2c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/world/world_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,7 @@ impl WorldExt for World {
fn delete_components(&mut self, delete: &[Entity]) {
self.entry::<MetaTable<dyn AnyStorage>>()
.or_insert_with(Default::default);
for storage in self
.fetch_mut::<MetaTable<dyn AnyStorage>>()
.iter_mut(self)
{
for storage in self.fetch_mut::<MetaTable<dyn AnyStorage>>().iter_mut(self) {
storage.drop(delete);
}
}
Expand Down

0 comments on commit d0fea2c

Please sign in to comment.