Skip to content

Commit cdae82c

Browse files
committed
nonzero_negation_ops: Set issue = "102443".
1 parent 259bbfb commit cdae82c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

library/core/src/num/nonzero.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ macro_rules! nonzero_signed_operations {
743743
/// ```
744744
#[must_use]
745745
#[inline(always)]
746-
#[unstable(feature = "nonzero_negation_ops", issue = "none")]
746+
#[unstable(feature = "nonzero_negation_ops", issue = "102443")]
747747
pub const fn is_negative(self) -> bool {
748748
self.get().is_negative()
749749
}
@@ -769,7 +769,7 @@ macro_rules! nonzero_signed_operations {
769769
/// # }
770770
/// ```
771771
#[inline]
772-
#[unstable(feature = "nonzero_negation_ops", issue = "none")]
772+
#[unstable(feature = "nonzero_negation_ops", issue = "102443")]
773773
pub const fn checked_neg(self) -> Option<$Ty> {
774774
if let Some(result) = self.get().checked_neg() {
775775
// SAFETY: negation of nonzero cannot yield zero values.
@@ -802,7 +802,7 @@ macro_rules! nonzero_signed_operations {
802802
/// # }
803803
/// ```
804804
#[inline]
805-
#[unstable(feature = "nonzero_negation_ops", issue = "none")]
805+
#[unstable(feature = "nonzero_negation_ops", issue = "102443")]
806806
pub const fn overflowing_neg(self) -> ($Ty, bool) {
807807
let (result, overflow) = self.get().overflowing_neg();
808808
// SAFETY: negation of nonzero cannot yield zero values.
@@ -836,7 +836,7 @@ macro_rules! nonzero_signed_operations {
836836
/// # }
837837
/// ```
838838
#[inline]
839-
#[unstable(feature = "nonzero_negation_ops", issue = "none")]
839+
#[unstable(feature = "nonzero_negation_ops", issue = "102443")]
840840
pub const fn saturating_neg(self) -> $Ty {
841841
if let Some(result) = self.checked_neg() {
842842
return result;
@@ -869,7 +869,7 @@ macro_rules! nonzero_signed_operations {
869869
/// # }
870870
/// ```
871871
#[inline]
872-
#[unstable(feature = "nonzero_negation_ops", issue = "none")]
872+
#[unstable(feature = "nonzero_negation_ops", issue = "102443")]
873873
pub const fn wrapping_neg(self) -> $Ty {
874874
let result = self.get().wrapping_neg();
875875
// SAFETY: negation of nonzero cannot yield zero values.

0 commit comments

Comments
 (0)