We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c182ce9 + 82b32ba commit d9d4594Copy full SHA for d9d4594
library/core/src/num/nonzero.rs
@@ -612,8 +612,6 @@ macro_rules! nonzero_integer {
612
/// Basic usage:
613
///
614
/// ```
615
- /// #![feature(non_zero_count_ones)]
616
- ///
617
/// # use std::num::NonZero;
618
/// #
619
/// # fn main() { test().unwrap(); }
@@ -627,7 +625,8 @@ macro_rules! nonzero_integer {
627
625
/// # }
628
626
629
630
- #[unstable(feature = "non_zero_count_ones", issue = "120287")]
+ #[stable(feature = "non_zero_count_ones", since = "CURRENT_RUSTC_VERSION")]
+ #[rustc_const_stable(feature = "non_zero_count_ones", since = "CURRENT_RUSTC_VERSION")]
631
#[doc(alias = "popcount")]
632
#[doc(alias = "popcnt")]
633
#[must_use = "this returns the result of the operation, \
0 commit comments