From 77f9eae9956f6c7c23bdf81c2efdd47625382ea2 Mon Sep 17 00:00:00 2001 From: Federico Stra Date: Thu, 28 Sep 2023 12:32:58 +0200 Subject: [PATCH] fixup! isqrt: fix stability --- library/core/src/num/int_macros.rs | 8 ++++---- 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 d1fe8b55cc1b..3cbb55af3bc6 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 371d6e180c2b..565fc1930ea4 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]