We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af8cce1 commit b7a05b4Copy full SHA for b7a05b4
benches/benches/bevy_ecs/scheduling/schedule.rs
@@ -73,9 +73,8 @@ pub fn build_schedule(criterion: &mut Criterion) {
73
fn data(&self) -> u64 {
74
self.0
75
}
76
- #[inline]
77
- fn dbg(&self) -> fn(u64, &mut std::fmt::Formatter) -> std::fmt::Result {
78
- |x, f| write!(f, "NumLabel({x})")
+ fn fmt(data: u64, f: &mut std::fmt::Formatter) -> std::fmt::Result {
+ f.debug_tuple("NumLabel").field(&data).finish()
79
80
81
0 commit comments