master
Avril 4 years ago
parent ea54648b43
commit 882c670885
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -42,6 +42,7 @@ impl Unit
} }
#[cfg(not(nightly))] #[cfg(not(nightly))]
fn multiplier(&self) -> u64 { fn multiplier(&self) -> u64 {
use Unit::*;
match self { match self {
Second => 1000, Second => 1000,
Minute => Second.multiplier() * 60, Minute => Second.multiplier() * 60,

Loading…
Cancel
Save