File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1373,7 +1373,6 @@ macro_rules! nonzero_integer_signedness_dependent_impls {
13731373 /// # Examples
13741374 ///
13751375 /// ```
1376- /// # #![feature(unsigned_nonzero_div_ceil)]
13771376 /// # use std::num::NonZero;
13781377 #[ doc = concat ! ( "let one = NonZero::new(1" , stringify!( $Int ) , ").unwrap();" ) ]
13791378 #[ doc = concat ! ( "let max = NonZero::new(" , stringify!( $Int ) , "::MAX).unwrap();" ) ]
@@ -1383,7 +1382,11 @@ macro_rules! nonzero_integer_signedness_dependent_impls {
13831382 #[ doc = concat ! ( "let three = NonZero::new(3" , stringify!( $Int ) , ").unwrap();" ) ]
13841383 /// assert_eq!(three.div_ceil(two), two);
13851384 /// ```
1386- #[ unstable( feature = "unsigned_nonzero_div_ceil" , issue = "132968" ) ]
1385+ #[ stable( feature = "unsigned_nonzero_div_ceil" , since = "CURRENT_RUSTC_VERSION" ) ]
1386+ #[ rustc_const_stable(
1387+ feature = "unsigned_nonzero_div_ceil" ,
1388+ since = "CURRENT_RUSTC_VERSION"
1389+ ) ]
13871390 #[ must_use = "this returns the result of the operation, \
13881391 without modifying the original"]
13891392 #[ inline]
You can’t perform that action at this time.
0 commit comments