Fix 'const-stable since' of reverse_bits
This commit is contained in:
parent
5da10c0121
commit
34e51279ab
2 changed files with 2 additions and 2 deletions
|
@ -254,7 +254,7 @@ macro_rules! int_impl {
|
|||
#[doc = concat!("assert_eq!(0, 0", stringify!($SelfT), ".reverse_bits());")]
|
||||
/// ```
|
||||
#[stable(feature = "reverse_bits", since = "1.37.0")]
|
||||
#[rustc_const_stable(feature = "const_int_methods", since = "1.32.0")]
|
||||
#[rustc_const_stable(feature = "const_int_methods", since = "1.37.0")]
|
||||
#[inline(always)]
|
||||
#[must_use]
|
||||
pub const fn reverse_bits(self) -> Self {
|
||||
|
|
|
@ -257,7 +257,7 @@ macro_rules! uint_impl {
|
|||
#[doc = concat!("assert_eq!(0, 0", stringify!($SelfT), ".reverse_bits());")]
|
||||
/// ```
|
||||
#[stable(feature = "reverse_bits", since = "1.37.0")]
|
||||
#[rustc_const_stable(feature = "const_math", since = "1.32.0")]
|
||||
#[rustc_const_stable(feature = "const_math", since = "1.37.0")]
|
||||
#[inline(always)]
|
||||
#[must_use]
|
||||
pub const fn reverse_bits(self) -> Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue