@@ -159,14 +159,14 @@ macro_rules! midpoint_impl {
159159 /// # Examples
160160 ///
161161 /// ```
162- /// #![feature(num_midpoint_signed)]
163162 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(4), 2);" ) ]
164163 #[ doc = concat!( "assert_eq!((-1" , stringify!( $SelfT) , ").midpoint(2), 0);" ) ]
165164 #[ doc = concat!( "assert_eq!((-7" , stringify!( $SelfT) , ").midpoint(0), -3);" ) ]
166165 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(-7), -3);" ) ]
167166 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(7), 3);" ) ]
168167 /// ```
169- #[ unstable( feature = "num_midpoint_signed" , issue = "110840" ) ]
168+ #[ stable( feature = "num_midpoint_signed" , since = "CURRENT_RUSTC_VERSION" ) ]
169+ #[ rustc_const_stable( feature = "num_midpoint_signed" , since = "CURRENT_RUSTC_VERSION" ) ]
170170 #[ must_use = "this returns the result of the operation, \
171171 without modifying the original"]
172172 #[ inline]
@@ -211,14 +211,14 @@ macro_rules! midpoint_impl {
211211 /// # Examples
212212 ///
213213 /// ```
214- /// #![feature(num_midpoint_signed)]
215214 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(4), 2);" ) ]
216215 #[ doc = concat!( "assert_eq!((-1" , stringify!( $SelfT) , ").midpoint(2), 0);" ) ]
217216 #[ doc = concat!( "assert_eq!((-7" , stringify!( $SelfT) , ").midpoint(0), -3);" ) ]
218217 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(-7), -3);" ) ]
219218 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(7), 3);" ) ]
220219 /// ```
221- #[ unstable( feature = "num_midpoint_signed" , issue = "110840" ) ]
220+ #[ stable( feature = "num_midpoint_signed" , since = "CURRENT_RUSTC_VERSION" ) ]
221+ #[ rustc_const_stable( feature = "num_midpoint_signed" , since = "CURRENT_RUSTC_VERSION" ) ]
222222 #[ must_use = "this returns the result of the operation, \
223223 without modifying the original"]
224224 #[ inline]
0 commit comments