parent
63c77214c1
commit
957d51aecb
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ mod inner {
|
|||
pub fn sub_duration(&self, other: &Duration) -> Instant {
|
||||
Instant {
|
||||
t: self.t.checked_sub(dur2intervals(other))
|
||||
.expect("overflow when adding duration to instant"),
|
||||
.expect("overflow when subtracting duration from instant"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue