Stabilize the Saturating type (saturating_int_impl, gh-87920)

Also stabilizes saturating_int_assign_impl, gh-92354.

And also make pub fns const where the underlying saturating_*
fns became const in the meantime since the Saturating type was
created.
This commit is contained in:
Michael Watzko 2023-07-26 22:30:29 +02:00
parent b3136a874d
commit 1c27ba931b

View file

@ -10,7 +10,7 @@
arithmetic_overflow,
unconditional_panic
)]
#![feature(const_mut_refs, inline_const, saturating_int_impl)]
#![feature(const_mut_refs, inline_const)]
#![warn(clippy::arithmetic_side_effects)]
extern crate proc_macro_derive;