Skip to content

Commit 6011fd4

Browse files
authored
Rollup merge of #115477 - kellerkindt:stabilized_int_impl, r=dtolnay
Stabilize the `Saturating` type Closes #87920 Closes #92354 Stabilization report #87920 (comment) FCP #87920 (comment)
2 parents 584eb69 + ad54426 commit 6011fd4

File tree

6 files changed

+220
-226
lines changed

6 files changed

+220
-226
lines changed

library/alloc/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
#![feature(ptr_metadata)]
145145
#![feature(ptr_sub_ptr)]
146146
#![feature(receiver_trait)]
147-
#![feature(saturating_int_impl)]
148147
#![feature(set_ptr_value)]
149148
#![feature(sized_type_properties)]
150149
#![feature(slice_from_ptr_range)]

library/core/src/num/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ mod uint_macros; // import uint_impl!
4444
mod error;
4545
mod int_log10;
4646
mod nonzero;
47-
#[unstable(feature = "saturating_int_impl", issue = "87920")]
4847
mod saturating;
4948
mod wrapping;
5049

51-
#[unstable(feature = "saturating_int_impl", issue = "87920")]
50+
#[stable(feature = "saturating_int_impl", since = "CURRENT_RUSTC_VERSION")]
5251
pub use saturating::Saturating;
5352
#[stable(feature = "rust1", since = "1.0.0")]
5453
pub use wrapping::Wrapping;

0 commit comments

Comments
 (0)