From 36e1b5684e667bfa1e16c5fa4826f63abb52af6c Mon Sep 17 00:00:00 2001 From: targrub Date: Wed, 18 Jan 2023 17:20:27 +0000 Subject: [PATCH] Fix tiny clippy issue for upcoming Rust version (#7266) Co-authored-by: targrub <62773321+targrub@users.noreply.github.com> --- crates/bevy_ecs/src/schedule_v3/schedule.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/schedule_v3/schedule.rs b/crates/bevy_ecs/src/schedule_v3/schedule.rs index 2bd7b00eca72f6..8aeb01d995336b 100644 --- a/crates/bevy_ecs/src/schedule_v3/schedule.rs +++ b/crates/bevy_ecs/src/schedule_v3/schedule.rs @@ -77,7 +77,7 @@ impl Schedules { #[allow(unused_variables)] for (label, schedule) in self.inner.iter_mut() { #[cfg(feature = "trace")] - let name = format!("{:?}", label); + let name = format!("{label:?}"); #[cfg(feature = "trace")] let _one_span = info_span!("check schedule ticks", name = &name).entered(); schedule.check_change_ticks(change_tick);