From cdae82c5fc7b04fec84062e82feb0f119d526b81 Mon Sep 17 00:00:00 2001 From: John Millikin Date: Thu, 29 Sep 2022 07:32:15 +0900 Subject: [PATCH] nonzero_negation_ops: Set `issue = "102443"`. --- library/core/src/num/nonzero.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/core/src/num/nonzero.rs b/library/core/src/num/nonzero.rs index d8e3c95cc870..1e6e1a155ef5 100644 --- a/library/core/src/num/nonzero.rs +++ b/library/core/src/num/nonzero.rs @@ -743,7 +743,7 @@ macro_rules! nonzero_signed_operations { /// ``` #[must_use] #[inline(always)] - #[unstable(feature = "nonzero_negation_ops", issue = "none")] + #[unstable(feature = "nonzero_negation_ops", issue = "102443")] pub const fn is_negative(self) -> bool { self.get().is_negative() } @@ -769,7 +769,7 @@ macro_rules! nonzero_signed_operations { /// # } /// ``` #[inline] - #[unstable(feature = "nonzero_negation_ops", issue = "none")] + #[unstable(feature = "nonzero_negation_ops", issue = "102443")] pub const fn checked_neg(self) -> Option<$Ty> { if let Some(result) = self.get().checked_neg() { // SAFETY: negation of nonzero cannot yield zero values. @@ -802,7 +802,7 @@ macro_rules! nonzero_signed_operations { /// # } /// ``` #[inline] - #[unstable(feature = "nonzero_negation_ops", issue = "none")] + #[unstable(feature = "nonzero_negation_ops", issue = "102443")] pub const fn overflowing_neg(self) -> ($Ty, bool) { let (result, overflow) = self.get().overflowing_neg(); // SAFETY: negation of nonzero cannot yield zero values. @@ -836,7 +836,7 @@ macro_rules! nonzero_signed_operations { /// # } /// ``` #[inline] - #[unstable(feature = "nonzero_negation_ops", issue = "none")] + #[unstable(feature = "nonzero_negation_ops", issue = "102443")] pub const fn saturating_neg(self) -> $Ty { if let Some(result) = self.checked_neg() { return result; @@ -869,7 +869,7 @@ macro_rules! nonzero_signed_operations { /// # } /// ``` #[inline] - #[unstable(feature = "nonzero_negation_ops", issue = "none")] + #[unstable(feature = "nonzero_negation_ops", issue = "102443")] pub const fn wrapping_neg(self) -> $Ty { let result = self.get().wrapping_neg(); // SAFETY: negation of nonzero cannot yield zero values.