fixup! isqrt: fix stability

This commit is contained in:
Federico Stra 2023-09-28 12:32:58 +02:00
parent 51463175a4
commit 77f9eae995
2 changed files with 6 additions and 6 deletions

View File

@ -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]

View File

@ -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]