Stabilize isqrt feature · qinheping/verify-rust-std@fcc990d (original) (raw)

Original file line number Diff line number Diff line change
@@ -1629,11 +1629,10 @@ macro_rules! int_impl {
1629 1629 ///
1630 1630 /// Basic usage:
1631 1631 /// ```
1632 - /// #![feature(isqrt)]
1633 1632 #[doc = concat!("assert_eq!(10", stringify!($SelfT), ".checked_isqrt(), Some(3));")]
1634 1633 /// ```
1635 - #[unstable(feature = "isqrt", issue = "116226")]
1636 - #[rustc_const_unstable(feature = "isqrt", issue = "116226")]
1634 + #[stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
1635 + #[rustc_const_stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
1637 1636 #[must_use = "this returns the result of the operation, \
1638 1637 without modifying the original"]
1639 1638 #[inline]
@@ -2880,11 +2879,10 @@ macro_rules! int_impl {
2880 2879 ///
2881 2880 /// Basic usage:
2882 2881 /// ```
2883 - /// #![feature(isqrt)]
2884 2882 #[doc = concat!("assert_eq!(10", stringify!($SelfT), ".isqrt(), 3);")]
2885 2883 /// ```
2886 - #[unstable(feature = "isqrt", issue = "116226")]
2887 - #[rustc_const_unstable(feature = "isqrt", issue = "116226")]
2884 + #[stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
2885 + #[rustc_const_stable(feature = "isqrt", since = "CURRENT_RUSTC_VERSION")]
2888 2886 #[must_use = "this returns the result of the operation, \
2889 2887 without modifying the original"]
2890 2888 #[inline]