Rollup merge of #131391 - ChaiTRex:isqrt, r=scottmcm,tgross35
Stabilize `isqrt` feature Stabilizes the `isqrt` feature. FCP is incomplete. Closes #116226
This commit is contained in:
commit
81d885b933
8 changed files with 100 additions and 108 deletions
|
@ -1629,11 +1629,10 @@ macro_rules! int_impl {
|
|||
///
|
||||
/// Basic usage:
|
||||
/// ```
|
||||
/// #![feature(isqrt)]
|
||||
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".checked_isqrt(), Some(3));")]
|
||||
/// ```
|
||||
#[unstable(feature = "isqrt", issue = "116226")]
|
||||
#[rustc_const_unstable(feature = "isqrt", issue = "116226")]
|
||||
#[stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[rustc_const_stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[must_use = "this returns the result of the operation, \
|
||||
without modifying the original"]
|
||||
#[inline]
|
||||
|
@ -2880,11 +2879,10 @@ macro_rules! int_impl {
|
|||
///
|
||||
/// Basic usage:
|
||||
/// ```
|
||||
/// #![feature(isqrt)]
|
||||
#[doc = concat!("assert_eq!(10", stringify!($SelfT), ".isqrt(), 3);")]
|
||||
/// ```
|
||||
#[unstable(feature = "isqrt", issue = "116226")]
|
||||
#[rustc_const_unstable(feature = "isqrt", issue = "116226")]
|
||||
#[stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[rustc_const_stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[must_use = "this returns the result of the operation, \
|
||||
without modifying the original"]
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue