Skip to content

Commit

Permalink
Assign tracking issue number for feature(nonzero_from_mut)
Browse files Browse the repository at this point in the history
  • Loading branch information
SOF3 authored and dtolnay committed Jan 19, 2024
1 parent 3acb445 commit 596410e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/num/nonzero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ macro_rules! nonzero_integer {
///
/// # Safety
/// The referenced value must not be currently zero.
#[unstable(feature = "nonzero_from_mut", issue = "none")]
#[unstable(feature = "nonzero_from_mut", issue = "106290")]
#[must_use]
#[inline]
pub unsafe fn from_mut_unchecked(n: &mut $Int) -> &mut Self {
Expand All @@ -194,7 +194,7 @@ macro_rules! nonzero_integer {

/// Converts a primitive mutable reference to a non-zero mutable reference
/// if the referenced integer is not zero.
#[unstable(feature = "nonzero_from_mut", issue = "none")]
#[unstable(feature = "nonzero_from_mut", issue = "106290")]
#[must_use]
#[inline]
pub fn from_mut(n: &mut $Int) -> Option<&mut Self> {
Expand Down

0 comments on commit 596410e

Please sign in to comment.