@@ -163,14 +163,14 @@ macro_rules! midpoint_impl {
163163 /// # Examples
164164 ///
165165 /// ```
166- /// #![feature(num_midpoint_signed)]
167166 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(4), 2);" ) ]
168167 #[ doc = concat!( "assert_eq!((-1" , stringify!( $SelfT) , ").midpoint(2), 0);" ) ]
169168 #[ doc = concat!( "assert_eq!((-7" , stringify!( $SelfT) , ").midpoint(0), -3);" ) ]
170169 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(-7), -3);" ) ]
171170 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(7), 3);" ) ]
172171 /// ```
173- #[ unstable( feature = "num_midpoint_signed" , issue = "110840" ) ]
172+ #[ stable( feature = "num_midpoint_signed" , since = "CURRENT_RUSTC_VERSION" ) ]
173+ #[ rustc_const_stable( feature = "num_midpoint_signed" , since = "CURRENT_RUSTC_VERSION" ) ]
174174 #[ must_use = "this returns the result of the operation, \
175175 without modifying the original"]
176176 #[ inline]
@@ -215,14 +215,14 @@ macro_rules! midpoint_impl {
215215 /// # Examples
216216 ///
217217 /// ```
218- /// #![feature(num_midpoint_signed)]
219218 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(4), 2);" ) ]
220219 #[ doc = concat!( "assert_eq!((-1" , stringify!( $SelfT) , ").midpoint(2), 0);" ) ]
221220 #[ doc = concat!( "assert_eq!((-7" , stringify!( $SelfT) , ").midpoint(0), -3);" ) ]
222221 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(-7), -3);" ) ]
223222 #[ doc = concat!( "assert_eq!(0" , stringify!( $SelfT) , ".midpoint(7), 3);" ) ]
224223 /// ```
225- #[ unstable( feature = "num_midpoint_signed" , issue = "110840" ) ]
224+ #[ stable( feature = "num_midpoint_signed" , since = "CURRENT_RUSTC_VERSION" ) ]
225+ #[ rustc_const_stable( feature = "num_midpoint_signed" , since = "CURRENT_RUSTC_VERSION" ) ]
226226 #[ must_use = "this returns the result of the operation, \
227227 without modifying the original"]
228228 #[ inline]
0 commit comments