Skip to content

Commit 6dd6e7c

Browse files
committed
Added tracking issue numbers for int_abs_diff.
1 parent 77e7f8a commit 6dd6e7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/num/int_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2244,7 +2244,7 @@ macro_rules! int_impl {
22442244
#[doc = concat!("assert_eq!((-100", stringify!($SelfT), ").abs_diff(-120), 20", stringify!($UnsignedT), ");")]
22452245
#[doc = concat!("assert_eq!(", stringify!($SelfT), "::MIN.abs_diff(", stringify!($SelfT), "::MAX), ", stringify!($UnsignedT), "::MAX);")]
22462246
/// ```
2247-
#[unstable(feature = "int_abs_diff", issue = "none")]
2247+
#[unstable(feature = "int_abs_diff", issue = "89492")]
22482248
#[inline]
22492249
pub const fn abs_diff(self, other: Self) -> $UnsignedT {
22502250
if self < other {

library/core/src/num/uint_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ macro_rules! uint_impl {
15011501
#[doc = concat!("assert_eq!(100", stringify!($SelfT), ".abs_diff(80), 20", stringify!($SelfT), ");")]
15021502
#[doc = concat!("assert_eq!(100", stringify!($SelfT), ".abs_diff(110), 10", stringify!($SelfT), ");")]
15031503
/// ```
1504-
#[unstable(feature = "int_abs_diff", issue = "none")]
1504+
#[unstable(feature = "int_abs_diff", issue = "89492")]
15051505
#[inline]
15061506
pub const fn abs_diff(self, other: Self) -> Self {
15071507
if mem::size_of::<Self>() == 1 {

0 commit comments

Comments
 (0)