Skip to content

Commit db57653

Browse files
committed
Stabilize nonzero_bits
1 parent 699bfa8 commit db57653

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/core/src/num/nonzero.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1106,12 +1106,11 @@ macro_rules! nonzero_bits {
11061106
/// # Examples
11071107
///
11081108
/// ```
1109-
/// #![feature(nonzero_bits)]
11101109
#[doc = concat!("# use std::num::", stringify!($Ty), ";")]
11111110
///
11121111
#[doc = concat!("assert_eq!(", stringify!($Ty), "::BITS, ", stringify!($Int), "::BITS);")]
11131112
/// ```
1114-
#[unstable(feature = "nonzero_bits", issue = "94881")]
1113+
#[stable(feature = "nonzero_bits", since = "CURRENT_RUSTC_VERSION")]
11151114
pub const BITS: u32 = <$Int>::BITS;
11161115
}
11171116
)+

0 commit comments

Comments
 (0)