diff --git a/crates/bevy_reflect/src/type_registry.rs b/crates/bevy_reflect/src/type_registry.rs index ac2779d7fe..b9fa42267b 100644 --- a/crates/bevy_reflect/src/type_registry.rs +++ b/crates/bevy_reflect/src/type_registry.rs @@ -150,7 +150,7 @@ impl TypeRegistration { self.name } - fn get_short_name(full_name: &str) -> String { + pub fn get_short_name(full_name: &str) -> String { let mut short_name = String::new(); {