mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-22 13:34:47 +00:00
a3fb1d6188
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. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |