Skip to content

Commit

Permalink
Fix tiny clippy issue for upcoming Rust version (bevyengine#7266)
Browse files Browse the repository at this point in the history
Co-authored-by: targrub <62773321+targrub@users.noreply.github.com>
  • Loading branch information
2 people authored and ItsDoot committed Feb 1, 2023
1 parent 2134c52 commit 36e1b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/schedule_v3/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 36e1b56

Please sign in to comment.