diff --git a/src/lib.rs b/src/lib.rs index 7a9aa7b..4ee9e36 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -834,7 +834,6 @@ impl TimeWindow { PartialOrd, Copy, Clone, - Debug, Default, Hash, Serialize, @@ -1027,6 +1026,12 @@ impl Display for Duration { } } +impl fmt::Debug for Duration { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fmt::Display::fmt(self, f) + } +} + impl From for Duration { fn from(num: f64) -> Self { #[allow(clippy::cast_possible_truncation)]