Skip to content

Commit 0f84d19

Browse files
committed
Fixed variable name _properly_
1 parent b274022 commit 0f84d19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/num/nonzero.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -908,10 +908,10 @@ macro_rules! nonzero_min_max {
908908
#[unstable(feature = "nonzero_min", issue = "89065")]
909909
#[doc = concat!("The minimum value for a`", stringify!($Ty), "`.")]
910910
/// # Examples
911-
#[doc = concat!("assert_eq!(", stringify!($Ty), "::MIN, ", stringify!($min), ";")]
911+
#[doc = concat!("assert_eq!(", stringify!($Ty), "::MIN, ", stringify!($Min), ";")]
912912
// SAFETY: In the signed case, the minimum integer is negative, and therefore non-zero.
913913
// SAFETY: In the unsignedd case, we use one, which is non-zero.
914-
pub const MIN : $Ty = unsafe { $Ty::new_unchecked($min)};
914+
pub const MIN : $Ty = unsafe { $Ty::new_unchecked($Min)};
915915
}
916916
)+
917917
}

0 commit comments

Comments
 (0)