mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-17 01:13:11 +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)]
|
/// #![feature(isqrt)]
|
||||||
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".checked_isqrt(), Some(3));")]
|
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".checked_isqrt(), Some(3));")]
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "isqrt", issue = "none")]
|
#[unstable(feature = "isqrt", issue = "116226")]
|
||||||
#[rustc_const_unstable(feature = "isqrt", issue = "none")]
|
#[rustc_const_unstable(feature = "isqrt", issue = "116226")]
|
||||||
#[must_use = "this returns the result of the operation, \
|
#[must_use = "this returns the result of the operation, \
|
||||||
without modifying the original"]
|
without modifying the original"]
|
||||||
#[inline]
|
#[inline]
|
||||||
@ -2098,8 +2098,8 @@ macro_rules! int_impl {
|
|||||||
/// #![feature(isqrt)]
|
/// #![feature(isqrt)]
|
||||||
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".isqrt(), 3);")]
|
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".isqrt(), 3);")]
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "isqrt", issue = "none")]
|
#[unstable(feature = "isqrt", issue = "116226")]
|
||||||
#[rustc_const_unstable(feature = "isqrt", issue = "none")]
|
#[rustc_const_unstable(feature = "isqrt", issue = "116226")]
|
||||||
#[must_use = "this returns the result of the operation, \
|
#[must_use = "this returns the result of the operation, \
|
||||||
without modifying the original"]
|
without modifying the original"]
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -1988,8 +1988,8 @@ macro_rules! uint_impl {
|
|||||||
/// #![feature(isqrt)]
|
/// #![feature(isqrt)]
|
||||||
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".isqrt(), 3);")]
|
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".isqrt(), 3);")]
|
||||||
/// ```
|
/// ```
|
||||||
#[unstable(feature = "isqrt", issue = "none")]
|
#[unstable(feature = "isqrt", issue = "116226")]
|
||||||
#[rustc_const_unstable(feature = "isqrt", issue = "none")]
|
#[rustc_const_unstable(feature = "isqrt", issue = "116226")]
|
||||||
#[must_use = "this returns the result of the operation, \
|
#[must_use = "this returns the result of the operation, \
|
||||||
without modifying the original"]
|
without modifying the original"]
|
||||||
#[inline]
|
#[inline]
|
||||||
|
Loading…
Reference in New Issue
Block a user