mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
fixup! isqrt: fix stability
This commit is contained in:
parent
51463175a4
commit
77f9eae995
@ -909,8 +909,8 @@ macro_rules! int_impl {
|
||||
/// #![feature(isqrt)]
|
||||
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".checked_isqrt(), Some(3));")]
|
||||
/// ```
|
||||
#[unstable(feature = "isqrt", issue = "none")]
|
||||
#[rustc_const_unstable(feature = "isqrt", issue = "none")]
|
||||
#[unstable(feature = "isqrt", issue = "116226")]
|
||||
#[rustc_const_unstable(feature = "isqrt", issue = "116226")]
|
||||
#[must_use = "this returns the result of the operation, \
|
||||
without modifying the original"]
|
||||
#[inline]
|
||||
@ -2098,8 +2098,8 @@ macro_rules! int_impl {
|
||||
/// #![feature(isqrt)]
|
||||
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".isqrt(), 3);")]
|
||||
/// ```
|
||||
#[unstable(feature = "isqrt", issue = "none")]
|
||||
#[rustc_const_unstable(feature = "isqrt", issue = "none")]
|
||||
#[unstable(feature = "isqrt", issue = "116226")]
|
||||
#[rustc_const_unstable(feature = "isqrt", issue = "116226")]
|
||||
#[must_use = "this returns the result of the operation, \
|
||||
without modifying the original"]
|
||||
#[inline]
|
||||
|
@ -1988,8 +1988,8 @@ macro_rules! uint_impl {
|
||||
/// #![feature(isqrt)]
|
||||
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".isqrt(), 3);")]
|
||||
/// ```
|
||||
#[unstable(feature = "isqrt", issue = "none")]
|
||||
#[rustc_const_unstable(feature = "isqrt", issue = "none")]
|
||||
#[unstable(feature = "isqrt", issue = "116226")]
|
||||
#[rustc_const_unstable(feature = "isqrt", issue = "116226")]
|
||||
#[must_use = "this returns the result of the operation, \
|
||||
without modifying the original"]
|
||||
#[inline]
|
||||
|
Loading…
Reference in New Issue
Block a user