@@ -2033,7 +2033,6 @@ macro_rules! int_impl {
20332033 /// Basic usage:
20342034 ///
20352035 /// ```
2036- /// #![feature(int_roundings)]
20372036 #[ doc = concat!( "let a: " , stringify!( $SelfT) , " = 8;" ) ]
20382037 /// let b = 3;
20392038 ///
@@ -2042,7 +2041,8 @@ macro_rules! int_impl {
20422041 /// assert_eq!((-a).div_floor(b), -3);
20432042 /// assert_eq!((-a).div_floor(-b), 2);
20442043 /// ```
2045- #[ unstable( feature = "int_roundings" , issue = "88581" ) ]
2044+ #[ stable( feature = "int_roundings" , since = "CURRENT_RUSTC_VERSION" ) ]
2045+ #[ rustc_const_stable( feature = "int_roundings" , since = "CURRENT_RUSTC_VERSION" ) ]
20462046 #[ must_use = "this returns the result of the operation, \
20472047 without modifying the original"]
20482048 #[ inline]
@@ -2073,7 +2073,6 @@ macro_rules! int_impl {
20732073 /// Basic usage:
20742074 ///
20752075 /// ```
2076- /// #![feature(int_roundings)]
20772076 #[ doc = concat!( "let a: " , stringify!( $SelfT) , " = 8;" ) ]
20782077 /// let b = 3;
20792078 ///
@@ -2082,7 +2081,8 @@ macro_rules! int_impl {
20822081 /// assert_eq!((-a).div_ceil(b), -2);
20832082 /// assert_eq!((-a).div_ceil(-b), 3);
20842083 /// ```
2085- #[ unstable( feature = "int_roundings" , issue = "88581" ) ]
2084+ #[ stable( feature = "int_roundings" , since = "CURRENT_RUSTC_VERSION" ) ]
2085+ #[ rustc_const_stable( feature = "int_roundings" , since = "CURRENT_RUSTC_VERSION" ) ]
20862086 #[ must_use = "this returns the result of the operation, \
20872087 without modifying the original"]
20882088 #[ inline]
@@ -2116,7 +2116,6 @@ macro_rules! int_impl {
21162116 /// Basic usage:
21172117 ///
21182118 /// ```
2119- /// #![feature(int_roundings)]
21202119 #[ doc = concat!( "assert_eq!(16_" , stringify!( $SelfT) , ".next_multiple_of(8), 16);" ) ]
21212120 #[ doc = concat!( "assert_eq!(23_" , stringify!( $SelfT) , ".next_multiple_of(8), 24);" ) ]
21222121 #[ doc = concat!( "assert_eq!(16_" , stringify!( $SelfT) , ".next_multiple_of(-8), 16);" ) ]
@@ -2126,7 +2125,8 @@ macro_rules! int_impl {
21262125 #[ doc = concat!( "assert_eq!((-16_" , stringify!( $SelfT) , ").next_multiple_of(-8), -16);" ) ]
21272126 #[ doc = concat!( "assert_eq!((-23_" , stringify!( $SelfT) , ").next_multiple_of(-8), -24);" ) ]
21282127 /// ```
2129- #[ unstable( feature = "int_roundings" , issue = "88581" ) ]
2128+ #[ stable( feature = "int_roundings" , since = "CURRENT_RUSTC_VERSION" ) ]
2129+ #[ rustc_const_stable( feature = "int_roundings" , since = "CURRENT_RUSTC_VERSION" ) ]
21302130 #[ must_use = "this returns the result of the operation, \
21312131 without modifying the original"]
21322132 #[ inline]
@@ -2162,7 +2162,6 @@ macro_rules! int_impl {
21622162 /// Basic usage:
21632163 ///
21642164 /// ```
2165- /// #![feature(int_roundings)]
21662165 #[ doc = concat!( "assert_eq!(16_" , stringify!( $SelfT) , ".checked_next_multiple_of(8), Some(16));" ) ]
21672166 #[ doc = concat!( "assert_eq!(23_" , stringify!( $SelfT) , ".checked_next_multiple_of(8), Some(24));" ) ]
21682167 #[ doc = concat!( "assert_eq!(16_" , stringify!( $SelfT) , ".checked_next_multiple_of(-8), Some(16));" ) ]
@@ -2174,7 +2173,8 @@ macro_rules! int_impl {
21742173 #[ doc = concat!( "assert_eq!(1_" , stringify!( $SelfT) , ".checked_next_multiple_of(0), None);" ) ]
21752174 #[ doc = concat!( "assert_eq!(" , stringify!( $SelfT) , "::MAX.checked_next_multiple_of(2), None);" ) ]
21762175 /// ```
2177- #[ unstable( feature = "int_roundings" , issue = "88581" ) ]
2176+ #[ stable( feature = "int_roundings" , since = "CURRENT_RUSTC_VERSION" ) ]
2177+ #[ rustc_const_stable( feature = "int_roundings" , since = "CURRENT_RUSTC_VERSION" ) ]
21782178 #[ must_use = "this returns the result of the operation, \
21792179 without modifying the original"]
21802180 #[ inline]
0 commit comments