Fix tiny clippy issue for upcoming Rust version (#7266)

Co-authored-by: targrub <62773321+targrub@users.noreply.github.com>
This commit is contained in:
targrub 2023-01-18 17:20:27 +00:00
parent e0b921fbd9
commit f8feec6ef1

View File

@ -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);