@@ -786,12 +786,12 @@ macro_rules! uint_impl {
786786 /// # Examples
787787 ///
788788 /// ```
789- /// #![feature(mixed_integer_ops_unsigned_sub)]
790789 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".checked_sub_signed(2), None);" ) ]
791790 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".checked_sub_signed(-2), Some(3));" ) ]
792791 #[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MAX - 2).checked_sub_signed(-4), None);" ) ]
793792 /// ```
794- #[ unstable( feature = "mixed_integer_ops_unsigned_sub" , issue = "126043" ) ]
793+ #[ stable( feature = "mixed_integer_ops_unsigned_sub" , since = "CURRENT_RUSTC_VERSION" ) ]
794+ #[ rustc_const_stable( feature = "mixed_integer_ops_unsigned_sub" , since = "CURRENT_RUSTC_VERSION" ) ]
795795 #[ must_use = "this returns the result of the operation, \
796796 without modifying the original"]
797797 #[ inline]
@@ -1933,12 +1933,12 @@ macro_rules! uint_impl {
19331933 /// # Examples
19341934 ///
19351935 /// ```
1936- /// #![feature(mixed_integer_ops_unsigned_sub)]
19371936 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".saturating_sub_signed(2), 0);" ) ]
19381937 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".saturating_sub_signed(-2), 3);" ) ]
19391938 #[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MAX - 2).saturating_sub_signed(-4), " , stringify!( $SelfT) , "::MAX);" ) ]
19401939 /// ```
1941- #[ unstable( feature = "mixed_integer_ops_unsigned_sub" , issue = "126043" ) ]
1940+ #[ stable( feature = "mixed_integer_ops_unsigned_sub" , since = "CURRENT_RUSTC_VERSION" ) ]
1941+ #[ rustc_const_stable( feature = "mixed_integer_ops_unsigned_sub" , since = "CURRENT_RUSTC_VERSION" ) ]
19421942 #[ must_use = "this returns the result of the operation, \
19431943 without modifying the original"]
19441944 #[ inline]
@@ -2081,12 +2081,12 @@ macro_rules! uint_impl {
20812081 /// # Examples
20822082 ///
20832083 /// ```
2084- /// #![feature(mixed_integer_ops_unsigned_sub)]
20852084 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".wrapping_sub_signed(2), " , stringify!( $SelfT) , "::MAX);" ) ]
20862085 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".wrapping_sub_signed(-2), 3);" ) ]
20872086 #[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MAX - 2).wrapping_sub_signed(-4), 1);" ) ]
20882087 /// ```
2089- #[ unstable( feature = "mixed_integer_ops_unsigned_sub" , issue = "126043" ) ]
2088+ #[ stable( feature = "mixed_integer_ops_unsigned_sub" , since = "CURRENT_RUSTC_VERSION" ) ]
2089+ #[ rustc_const_stable( feature = "mixed_integer_ops_unsigned_sub" , since = "CURRENT_RUSTC_VERSION" ) ]
20902090 #[ must_use = "this returns the result of the operation, \
20912091 without modifying the original"]
20922092 #[ inline]
@@ -2540,12 +2540,12 @@ macro_rules! uint_impl {
25402540 /// # Examples
25412541 ///
25422542 /// ```
2543- /// #![feature(mixed_integer_ops_unsigned_sub)]
25442543 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".overflowing_sub_signed(2), (" , stringify!( $SelfT) , "::MAX, true));" ) ]
25452544 #[ doc = concat!( "assert_eq!(1" , stringify!( $SelfT) , ".overflowing_sub_signed(-2), (3, false));" ) ]
25462545 #[ doc = concat!( "assert_eq!((" , stringify!( $SelfT) , "::MAX - 2).overflowing_sub_signed(-4), (1, true));" ) ]
25472546 /// ```
2548- #[ unstable( feature = "mixed_integer_ops_unsigned_sub" , issue = "126043" ) ]
2547+ #[ stable( feature = "mixed_integer_ops_unsigned_sub" , since = "CURRENT_RUSTC_VERSION" ) ]
2548+ #[ rustc_const_stable( feature = "mixed_integer_ops_unsigned_sub" , since = "CURRENT_RUSTC_VERSION" ) ]
25492549 #[ must_use = "this returns the result of the operation, \
25502550 without modifying the original"]
25512551 #[ inline]
0 commit comments