about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-21 13:09:49 +0000
committerbors <bors@rust-lang.org>2023-11-21 13:09:49 +0000
commite24e5af787f7015914cbf316063ed5821f370b71 (patch)
tree65b4e2a8e3c1f5ba7e88f2fb62f9f34d964b91e9 /compiler/rustc_lint/src
parent7bd385dc371a85219c4261f0cb5ba7c83b7e0c5e (diff)
parent0ac438c8d45b27e95eb0512598c26eee5d967ffe (diff)
downloadrust-e24e5af787f7015914cbf316063ed5821f370b71.tar.gz
rust-e24e5af787f7015914cbf316063ed5821f370b71.zip
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
Diffstat (limited to 'compiler/rustc_lint/src')
0 files changed, 0 insertions, 0 deletions