impl Format for Duration

This commit is contained in:
Dario Nieuwenhuis 2020-09-28 21:50:28 +02:00
parent 3d64a8abef
commit 32a9b3f4ae

View File

@ -117,7 +117,7 @@ impl Sub<Instant> for Instant {
}
}
#[derive(Debug, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
#[derive(defmt::Format, Debug, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct Duration {
ticks: u32,
}