diff --git a/crates/bevy_reflect/src/impls/std.rs b/crates/bevy_reflect/src/impls/std.rs index fec466c8e35af..5d4afc0e8cfc5 100644 --- a/crates/bevy_reflect/src/impls/std.rs +++ b/crates/bevy_reflect/src/impls/std.rs @@ -1109,10 +1109,8 @@ impl Typed for &'static Path { impl GetTypeRegistration for &'static Path { fn get_type_registration() -> TypeRegistration { - let mut registration = TypeRegistration::of::>(); - registration.insert::(FromType::>::from_type()); - registration.insert::(FromType::>::from_type()); - registration.insert::(FromType::>::from_type()); + let mut registration = TypeRegistration::of::(); + registration.insert::(FromType::::from_type()); registration } }