another conditional compilation fix

This commit is contained in:
Folkert 2022-12-29 18:03:18 +01:00
parent 2606917d57
commit 0eb41ad97f
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -29,6 +29,10 @@ impl Duration {
pub fn checked_sub(&self, _: Duration) -> Option<Duration> {
Some(Duration)
}
pub fn as_secs_f64(&self) -> f64 {
0.0
}
}
impl Default for Duration {