rust/compiler/rustc_const_eval
Matthias Krüger a795f0f536
Rollup merge of #94685 - RalfJung:saturating, r=oli-obk
interpret: move saturating_add/sub into (pub) helper method

I plan to use them for `simd_saturating_add/sub`.

The first commit just moves code, the 2nd simplifies it a bit with some helper methods that did not exist yet when the code was originally written.
2022-03-07 11:35:57 +01:00
..
src Rollup merge of #94685 - RalfJung:saturating, r=oli-obk 2022-03-07 11:35:57 +01:00
Cargo.toml