rust/library/core
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
..
benches Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
src Make wrapping_neg() use wrapping_sub(), #[inline(always)] 2021-07-15 09:58:35 +02:00
tests test integer log10 values close to all powers of 10 2021-07-07 14:07:32 +02:00
Cargo.toml Auto merge of #82271 - Aaron1011:debug-refcell, r=m-ou-se 2021-03-23 04:49:47 +00:00