Skip to content

Commit b7a05b4

Browse files
committed
update benchmark
1 parent af8cce1 commit b7a05b4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

benches/benches/bevy_ecs/scheduling/schedule.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ pub fn build_schedule(criterion: &mut Criterion) {
7373
fn data(&self) -> u64 {
7474
self.0
7575
}
76-
#[inline]
77-
fn dbg(&self) -> fn(u64, &mut std::fmt::Formatter) -> std::fmt::Result {
78-
|x, f| write!(f, "NumLabel({x})")
76+
fn fmt(data: u64, f: &mut std::fmt::Formatter) -> std::fmt::Result {
77+
f.debug_tuple("NumLabel").field(&data).finish()
7978
}
8079
}
8180

0 commit comments

Comments
 (0)