rust/library/core
bors e24e5af787 Auto merge of #117619 - elomatreb:add-duration-abs-diff, r=thomcc
Add `Duration::abs_diff`

This adds a `Duration::abs_diff` method analogous to the existing one on the primitive integers.

ACP: https://github.com/rust-lang/libs-team/issues/291
Tracking Issue: https://github.com/rust-lang/rust/issues/117618
2023-11-21 13:09:49 +00:00
..
benches fix 2023-07-23 09:58:31 +00:00
src Auto merge of #117619 - elomatreb:add-duration-abs-diff, r=thomcc 2023-11-21 13:09:49 +00:00
tests Auto merge of #117619 - elomatreb:add-duration-abs-diff, r=thomcc 2023-11-21 13:09:49 +00:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00