Unnamed repository; edit this file 'description' to name the repository.
Rollup merge of #151045 - wrapping-neg, r=lcnr
Simplify some literal-value negations with `u128::wrapping_neg` - Calling `overflowing_neg` and then discarding the overflow bit is the same as just calling `wrapping_neg`. - Casting to `u128` to `i128`, negating, and then casting back produces the same result as just performing an unsigned `wrapping_neg`. There should be no actual change to compiler behaviour.
Jonathan Brouwer 3 months ago
parent 7c4121a · parent ea61c1c · commit 6735997
0 files changed, 0 insertions, 0 deletions