use impl_default in 1 place
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
same mf who else 2026-02-23 23:09:37 +02:00
parent a77df633d6
commit f1dda6af07

View file

@ -715,16 +715,12 @@ impl<'a, O, A, B, I, F, G> Draw<O> for Map<O, A, B, I, F, G> where
} }
} }
impl Default for PerfModel { impl_default!(PerfModel: Self {
fn default () -> Self {
Self {
enabled: true, enabled: true,
clock: quanta::Clock::new(), clock: quanta::Clock::new(),
used: Default::default(), used: Default::default(),
window: Default::default(), window: Default::default(),
} });
}
}
impl PerfModel { impl PerfModel {
pub fn get_t0 (&self) -> Option<u64> { pub fn get_t0 (&self) -> Option<u64> {