Files
rust/library
Hans Kratz a3fb1d6188 Make wrapping_neg() use wrapping_sub(), #[inline(always)]
This is a follow-up change to the fix for #75598. It simplifies the implementation of wrapping_neg() for all integer types by just calling 0.wrapping_sub(self) and always inlines it. This leads to much less assembly code being emitted for opt-level≤1.
2021-07-15 09:58:35 +02:00
..
2021-04-25 13:48:03 -07:00
2021-06-28 11:30:49 -04:00
2021-07-13 17:58:50 +09:00