about summary refs log tree commit diff
path: root/library/core/src/num
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-11-30 10:33:09 +0100
committerRalf Jung <post@ralfj.de>2024-11-30 11:55:58 +0100
commit4ce2116aef0677c6f59890d9bd3acea890fa5cbb (patch)
tree4d17bc8f429d65deccdeb3191d35a50ef984452a /library/core/src/num
parent0dc94404ee1c529dcf0071f0ef84f64934e7f747 (diff)
downloadrust-4ce2116aef0677c6f59890d9bd3acea890fa5cbb.tar.gz
rust-4ce2116aef0677c6f59890d9bd3acea890fa5cbb.zip
get rid of a bunch of unnecessary rustc_const_unstable
Diffstat (limited to 'library/core/src/num')
-rw-r--r--library/core/src/num/nonzero.rs1
-rw-r--r--library/core/src/num/uint_macros.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/library/core/src/num/nonzero.rs b/library/core/src/num/nonzero.rs
index dba64d5dc8e..03f8d462d4d 100644
--- a/library/core/src/num/nonzero.rs
+++ b/library/core/src/num/nonzero.rs
@@ -614,7 +614,6 @@ macro_rules! nonzero_integer {
             /// ```
             ///
             #[unstable(feature = "non_zero_count_ones", issue = "120287")]
-            #[rustc_const_unstable(feature = "non_zero_count_ones", issue = "120287")]
             #[doc(alias = "popcount")]
             #[doc(alias = "popcnt")]
             #[must_use = "this returns the result of the operation, \
diff --git a/library/core/src/num/uint_macros.rs b/library/core/src/num/uint_macros.rs
index 90b986f4998..61083b6783b 100644
--- a/library/core/src/num/uint_macros.rs
+++ b/library/core/src/num/uint_macros.rs
@@ -3162,7 +3162,6 @@ macro_rules! uint_impl {
         #[inline]
         #[unstable(feature = "wrapping_next_power_of_two", issue = "32463",
                    reason = "needs decision on wrapping behavior")]
-        #[rustc_const_unstable(feature = "wrapping_next_power_of_two", issue = "32463")]
         #[must_use = "this returns the result of the operation, \
                       without modifying the original"]
         pub const fn wrapping_next_power_of_two(self) -> Self {