diff options
| author | Federico Stra <stra.federico@gmail.com> | 2023-09-28 12:32:58 +0200 |
|---|---|---|
| committer | Federico Stra <stra.federico@gmail.com> | 2023-09-28 12:32:58 +0200 |
| commit | 77f9eae9956f6c7c23bdf81c2efdd47625382ea2 (patch) | |
| tree | e9dbb389ecc70d9a58810fa50271e690684f1b0b | |
| parent | 51463175a46599eb69375861bfe3626f68d643a4 (diff) | |
| download | rust-77f9eae9956f6c7c23bdf81c2efdd47625382ea2.tar.gz rust-77f9eae9956f6c7c23bdf81c2efdd47625382ea2.zip | |
fixup! isqrt: fix stability
| -rw-r--r-- | library/core/src/num/int_macros.rs | 8 | ||||
| -rw-r--r-- | library/core/src/num/uint_macros.rs | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/library/core/src/num/int_macros.rs b/library/core/src/num/int_macros.rs index d1fe8b55cc1..3cbb55af3bc 100644 --- a/library/core/src/num/int_macros.rs +++ b/library/core/src/num/int_macros.rs @@ -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] diff --git a/library/core/src/num/uint_macros.rs b/library/core/src/num/uint_macros.rs index 371d6e180c2..565fc1930ea 100644 --- a/library/core/src/num/uint_macros.rs +++ b/library/core/src/num/uint_macros.rs @@ -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] |
