@@ -1633,14 +1633,14 @@ macro_rules! nonzero_integer_signedness_dependent_methods {
16331633 /// Basic usage:
16341634 ///
16351635 /// ```
1636- /// #![feature(integer_sign_cast)]
16371636 /// # use std::num::NonZero;
16381637 ///
16391638 #[ doc = concat!( "let n = NonZero::<" , stringify!( $Int) , ">::MAX;" ) ]
16401639 ///
16411640 #[ doc = concat!( "assert_eq!(n.cast_signed(), NonZero::new(-1" , stringify!( $Sint) , ").unwrap());" ) ]
16421641 /// ```
1643- #[ unstable( feature = "integer_sign_cast" , issue = "125882" ) ]
1642+ #[ stable( feature = "integer_sign_cast" , since = "CURRENT_RUSTC_VERSION" ) ]
1643+ #[ rustc_const_stable( feature = "integer_sign_cast" , since = "CURRENT_RUSTC_VERSION" ) ]
16441644 #[ must_use = "this returns the result of the operation, \
16451645 without modifying the original"]
16461646 #[ inline( always) ]
@@ -2072,14 +2072,14 @@ macro_rules! nonzero_integer_signedness_dependent_methods {
20722072 /// Basic usage:
20732073 ///
20742074 /// ```
2075- /// #![feature(integer_sign_cast)]
20762075 /// # use std::num::NonZero;
20772076 ///
20782077 #[ doc = concat!( "let n = NonZero::new(-1" , stringify!( $Int) , ").unwrap();" ) ]
20792078 ///
20802079 #[ doc = concat!( "assert_eq!(n.cast_unsigned(), NonZero::<" , stringify!( $Uint) , ">::MAX);" ) ]
20812080 /// ```
2082- #[ unstable( feature = "integer_sign_cast" , issue = "125882" ) ]
2081+ #[ stable( feature = "integer_sign_cast" , since = "CURRENT_RUSTC_VERSION" ) ]
2082+ #[ rustc_const_stable( feature = "integer_sign_cast" , since = "CURRENT_RUSTC_VERSION" ) ]
20832083 #[ must_use = "this returns the result of the operation, \
20842084 without modifying the original"]
20852085 #[ inline( always) ]
0 commit comments