diff --git a/crates/bevy_ecs/src/core/archetype.rs b/crates/bevy_ecs/src/core/archetype.rs index afa9a7031fccc..6034d30fee44b 100644 --- a/crates/bevy_ecs/src/core/archetype.rs +++ b/crates/bevy_ecs/src/core/archetype.rs @@ -519,12 +519,6 @@ impl TypeInfo { pub(crate) unsafe fn drop(&self, data: *mut u8) { (self.drop)(data) } - - #[allow(missing_docs)] - #[inline] - pub fn type_name(&self) -> &'static str { - self.type_name - } } impl PartialOrd for TypeInfo {