diff --git a/crates/bevy_ecs/src/system/commands/mod.rs b/crates/bevy_ecs/src/system/commands/mod.rs index 0db820a374..ba766c5fbd 100644 --- a/crates/bevy_ecs/src/system/commands/mod.rs +++ b/crates/bevy_ecs/src/system/commands/mod.rs @@ -1325,7 +1325,7 @@ fn log_components(entity: Entity, world: &mut World) { .into_iter() .map(|component_info| component_info.name()) .collect(); - info!("Entity {:?}: {:?}", entity, debug_infos); + info!("Entity {entity}: {debug_infos:?}"); } fn observe(