impl defmt::Format for Instant

This commit is contained in:
Dario Nieuwenhuis 2020-10-20 17:04:15 +02:00
parent 80ce73a2c1
commit 041a22a958

View File

@ -7,7 +7,7 @@ use core::task::{Context, Poll};
use super::{now, Duration}; use super::{now, Duration};
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] #[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, defmt::Format)]
pub struct Instant { pub struct Instant {
ticks: u64, ticks: u64,
} }