diff --git a/crates/bevy_type_registry/src/type_registry.rs b/crates/bevy_type_registry/src/type_registry.rs index 0a22562755..16833f4a04 100644 --- a/crates/bevy_type_registry/src/type_registry.rs +++ b/crates/bevy_type_registry/src/type_registry.rs @@ -141,6 +141,8 @@ impl ComponentRegistrationDefaults { } } + // NOTE: this code will be removed soon, so we're just suppressing the new clippy lint + #[allow(clippy::clippy::unnecessary_wraps)] fn map_entities(_world: &mut World, _entity_map: &EntityMap) -> Result<(), MapEntitiesError> { Ok(()) }