mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 03:42:17 +00:00
another conditional compilation fix
This commit is contained in:
parent
2606917d57
commit
0eb41ad97f
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue