Skip to content

Commit 1c27ba9

Browse files
committed
Stabilize the Saturating type (saturating_int_impl, rust-langgh-87920)
Also stabilizes saturating_int_assign_impl, rust-langgh-92354. And also make pub fns const where the underlying saturating_* fns became const in the meantime since the Saturating type was created.
1 parent b3136a8 commit 1c27ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/arithmetic_side_effects.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
arithmetic_overflow,
1111
unconditional_panic
1212
)]
13-
#![feature(const_mut_refs, inline_const, saturating_int_impl)]
13+
#![feature(const_mut_refs, inline_const)]
1414
#![warn(clippy::arithmetic_side_effects)]
1515

1616
extern crate proc_macro_derive;

0 commit comments

Comments
 (0)