diff options
author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-05-05 18:40:32 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 18:40:32 +0530 |
commit | 3502e483213ad42468700b409ab4a4ecdd8ddf2c (patch) | |
tree | 6127abb5e2fd28f6c8345a1aae59303436a375af /tests/rustdoc-js-std/parser-errors.js | |
parent | dd9a7bf848e412c81e3045245acbd5a01641a610 (diff) | |
parent | 5def7534e4f86165fd5f984e542c17921dc9fd08 (diff) | |
download | rust-3502e483213ad42468700b409ab4a4ecdd8ddf2c.tar.gz |
Rollup merge of #103056 - beetrees:timespec-bug-fix, r=thomcc
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.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions