stabilize int_bits_const
This commit is contained in:
parent
9b32429822
commit
8940a2652e
9 changed files with 2 additions and 11 deletions
|
@ -32,10 +32,9 @@ macro_rules! int_impl {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(int_bits_const)]
|
||||
#[doc = concat!("assert_eq!(", stringify!($SelfT), "::BITS, ", stringify!($BITS), ");")]
|
||||
/// ```
|
||||
#[unstable(feature = "int_bits_const", issue = "76904")]
|
||||
#[stable(feature = "int_bits_const", since = "1.51.0")]
|
||||
pub const BITS: u32 = $BITS;
|
||||
|
||||
/// Converts a string slice in a given base to an integer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue