1
Fork 0

Revert stabilizing integer::BITS.

This commit is contained in:
Mara Bos 2021-02-03 22:23:58 +01:00
parent b81f5811f9
commit 89882388d9
9 changed files with 11 additions and 2 deletions

View file

@ -32,9 +32,10 @@ macro_rules! int_impl {
/// # Examples
///
/// ```
/// #![feature(int_bits_const)]
#[doc = concat!("assert_eq!(", stringify!($SelfT), "::BITS, ", stringify!($BITS), ");")]
/// ```
#[stable(feature = "int_bits_const", since = "1.51.0")]
#[unstable(feature = "int_bits_const", issue = "76904")]
pub const BITS: u32 = $BITS;
/// Converts a string slice in a given base to an integer.