diff --git a/crates/bevy_ecs/src/archetype.rs b/crates/bevy_ecs/src/archetype.rs index 1e394d2a5fef8..984d8a14aa67f 100644 --- a/crates/bevy_ecs/src/archetype.rs +++ b/crates/bevy_ecs/src/archetype.rs @@ -936,7 +936,7 @@ impl Archetypes { } /// Get the component index - pub(crate) fn component_index(&self) -> &ComponentIndex { + pub fn component_index(&self) -> &ComponentIndex { &self.by_component }