diff options
| author | Orson Peters <orsonpeters@gmail.com> | 2021-10-03 17:44:07 +0200 |
|---|---|---|
| committer | Orson Peters <orsonpeters@gmail.com> | 2021-10-03 17:44:07 +0200 |
| commit | 6dd6e7c002bae653a3db236e2c0d5ec25f8810b5 (patch) | |
| tree | 045c31dab9027c6da09239d03662f8c3f29979d6 | |
| parent | 77e7f8ae88910d64ebeba5689e90d7c1a01f2bf3 (diff) | |
| download | rust-6dd6e7c002bae653a3db236e2c0d5ec25f8810b5.tar.gz rust-6dd6e7c002bae653a3db236e2c0d5ec25f8810b5.zip | |
Added tracking issue numbers for int_abs_diff.
| -rw-r--r-- | library/core/src/num/int_macros.rs | 2 | ||||
| -rw-r--r-- | library/core/src/num/uint_macros.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/num/int_macros.rs b/library/core/src/num/int_macros.rs index 187be5d4757..14a3a1dda8e 100644 --- a/library/core/src/num/int_macros.rs +++ b/library/core/src/num/int_macros.rs @@ -2244,7 +2244,7 @@ macro_rules! int_impl { #[doc = concat!("assert_eq!((-100", stringify!($SelfT), ").abs_diff(-120), 20", stringify!($UnsignedT), ");")] #[doc = concat!("assert_eq!(", stringify!($SelfT), "::MIN.abs_diff(", stringify!($SelfT), "::MAX), ", stringify!($UnsignedT), "::MAX);")] /// ``` - #[unstable(feature = "int_abs_diff", issue = "none")] + #[unstable(feature = "int_abs_diff", issue = "89492")] #[inline] pub const fn abs_diff(self, other: Self) -> $UnsignedT { if self < other { diff --git a/library/core/src/num/uint_macros.rs b/library/core/src/num/uint_macros.rs index a5f12447fdc..4fdba778b34 100644 --- a/library/core/src/num/uint_macros.rs +++ b/library/core/src/num/uint_macros.rs @@ -1501,7 +1501,7 @@ macro_rules! uint_impl { #[doc = concat!("assert_eq!(100", stringify!($SelfT), ".abs_diff(80), 20", stringify!($SelfT), ");")] #[doc = concat!("assert_eq!(100", stringify!($SelfT), ".abs_diff(110), 10", stringify!($SelfT), ");")] /// ``` - #[unstable(feature = "int_abs_diff", issue = "none")] + #[unstable(feature = "int_abs_diff", issue = "89492")] #[inline] pub const fn abs_diff(self, other: Self) -> Self { if mem::size_of::<Self>() == 1 { |
