diff --git a/src/interval.rs b/src/interval.rs index e3c91de..3a2d8a9 100644 --- a/src/interval.rs +++ b/src/interval.rs @@ -42,6 +42,7 @@ impl Unit } #[cfg(not(nightly))] fn multiplier(&self) -> u64 { + use Unit::*; match self { Second => 1000, Minute => Second.multiplier() * 60,