summaryrefslogtreecommitdiff
path: root/ecs/src/component/storage.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/src/component/storage.rs')
-rw-r--r--ecs/src/component/storage.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/component/storage.rs b/ecs/src/component/storage.rs
index 86e124f..a8711c5 100644
--- a/ecs/src/component/storage.rs
+++ b/ecs/src/component/storage.rs
@@ -644,7 +644,7 @@ impl<'component_storage> Iterator for ArchetypeRefIter<'component_storage, '_>
add_edge_archetype_comps
.insert_at_part_pt_by_key(add_edge_component_id, |comp_id| {
- *comp_id
+ comp_id
});
self.storage.imaginary_archetypes.borrow_mut().push(
@@ -712,7 +712,7 @@ impl ArchetypeRefIter<'_, '_>
let mut add_edge_comp_ids = imaginary_archetype_comps.to_vec();
- add_edge_comp_ids.insert_at_part_pt_by_key(unique_comp_id, |id| *id);
+ add_edge_comp_ids.insert_at_part_pt_by_key(unique_comp_id, |id| id);
let add_edge = ArchetypeId::new(&add_edge_comp_ids);