Assign tracking issue number for feature(nonzero_from_mut)
This commit is contained in:
parent
3acb445f15
commit
596410eb36
@ -177,7 +177,7 @@ macro_rules! nonzero_integer {
|
|||||||
///
|
///
|
||||||
/// # Safety
|
/// # Safety
|
||||||
/// The referenced value must not be currently zero.
|
/// The referenced value must not be currently zero.
|
||||||
#[unstable(feature = "nonzero_from_mut", issue = "none")]
|
#[unstable(feature = "nonzero_from_mut", issue = "106290")]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
#[inline]
|
#[inline]
|
||||||
pub unsafe fn from_mut_unchecked(n: &mut $Int) -> &mut Self {
|
pub unsafe fn from_mut_unchecked(n: &mut $Int) -> &mut Self {
|
||||||
@ -194,7 +194,7 @@ macro_rules! nonzero_integer {
|
|||||||
|
|
||||||
/// Converts a primitive mutable reference to a non-zero mutable reference
|
/// Converts a primitive mutable reference to a non-zero mutable reference
|
||||||
/// if the referenced integer is not zero.
|
/// if the referenced integer is not zero.
|
||||||
#[unstable(feature = "nonzero_from_mut", issue = "none")]
|
#[unstable(feature = "nonzero_from_mut", issue = "106290")]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn from_mut(n: &mut $Int) -> Option<&mut Self> {
|
pub fn from_mut(n: &mut $Int) -> Option<&mut Self> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user