diff options
| author | Ralf Jung <post@ralfj.de> | 2024-11-30 10:33:09 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-11-30 11:55:58 +0100 |
| commit | 4ce2116aef0677c6f59890d9bd3acea890fa5cbb (patch) | |
| tree | 4d17bc8f429d65deccdeb3191d35a50ef984452a /library/core/src/num | |
| parent | 0dc94404ee1c529dcf0071f0ef84f64934e7f747 (diff) | |
| download | rust-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.rs | 1 | ||||
| -rw-r--r-- | library/core/src/num/uint_macros.rs | 1 |
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 { |
