Skip to content

Commit 721a878

Browse files
Fix 'const-stable since' of reverse_bits
1 parent 8e86e02 commit 721a878

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: core/src/num/int_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ macro_rules! int_impl {
254254
#[doc = concat!("assert_eq!(0, 0", stringify!($SelfT), ".reverse_bits());")]
255255
/// ```
256256
#[stable(feature = "reverse_bits", since = "1.37.0")]
257-
#[rustc_const_stable(feature = "const_int_methods", since = "1.32.0")]
257+
#[rustc_const_stable(feature = "const_int_methods", since = "1.37.0")]
258258
#[inline(always)]
259259
#[must_use]
260260
pub const fn reverse_bits(self) -> Self {

Diff for: core/src/num/uint_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ macro_rules! uint_impl {
257257
#[doc = concat!("assert_eq!(0, 0", stringify!($SelfT), ".reverse_bits());")]
258258
/// ```
259259
#[stable(feature = "reverse_bits", since = "1.37.0")]
260-
#[rustc_const_stable(feature = "const_math", since = "1.32.0")]
260+
#[rustc_const_stable(feature = "const_math", since = "1.37.0")]
261261
#[inline(always)]
262262
#[must_use]
263263
pub const fn reverse_bits(self) -> Self {

0 commit comments

Comments
 (0)