diff --git a/crates/bevy_ecs/src/world/entity_ref.rs b/crates/bevy_ecs/src/world/entity_ref.rs index 382ea93f66e84..cde6790a35a9a 100644 --- a/crates/bevy_ecs/src/world/entity_ref.rs +++ b/crates/bevy_ecs/src/world/entity_ref.rs @@ -1372,7 +1372,7 @@ impl<'w> EntityWorldMut<'w> { .bundles .get_unchecked(bundle) .contributed_components() - .into_iter() + .iter() }); // Find all components that depend on bundle components