Assign tracking issue number for feature(nonzero_from_mut)
This commit is contained in:
parent
3acb445f15
commit
596410eb36
@ -177,7 +177,7 @@ pub const fn new(n: $Int) -> Option<Self> {
|
||||
///
|
||||
/// # 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 {
|
||||
@ -194,7 +194,7 @@ pub unsafe fn from_mut_unchecked(n: &mut $Int) -> &mut Self {
|
||||
|
||||
/// 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> {
|
||||
|
Loading…
Reference in New Issue
Block a user