mirror of https://github.com/rust-lang/rust
3502e48321
Fix `checked_{add,sub}_duration` incorrectly returning `None` when `other` has more than `i64::MAX` seconds Use `checked_{add,sub}_unsigned` in `checked_{add,sub}_duration` so that the correct result is returned when adding/subtracting durations with more than `i64::MAX` seconds. |
||
---|---|---|
.. | ||
tests.rs |