Skip to content

Commit 591b89d

Browse files
committed
Addressing PR Comment.
1 parent 279f0bf commit 591b89d

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
@@ -900,12 +900,12 @@ macro_rules! nonzero_min_max {
900900
( $( $MinVal:expr , $Ty: ident($Int: ty); )+ ) => {
901901
$(
902902
impl $Ty {
903-
#[unstable(feature = "nonzero_max", issue = "89065")]
903+
#[unstable(feature = "nonzero_min_max", issue = "89065")]
904904
#[doc = concat!("The maximum value for a`", stringify!($Ty), "` is the same as `", stringify!($Int), "`")]
905905
#[doc = concat!("assert_eq!(", stringify!($Ty), "::MAX, ", stringify!($Int), "::MAX);")]
906906
// SAFETY: Since the MAX value, for any supported integer type, is greater than 0, the MAX will always be non-zero.
907907
pub const MAX : $Ty = unsafe { $Ty::new_unchecked(<$Int>::MAX) };
908-
#[unstable(feature = "nonzero_min", issue = "89065")]
908+
#[unstable(feature = "nonzero_min_max", issue = "89065")]
909909
#[doc = concat!("The minimum value for a`", stringify!($Ty), "`.")]
910910
/// # Examples
911911
#[doc = concat!("assert_eq!(", stringify!($Ty), "::MIN, ", stringify!($MinVal), ";")]

0 commit comments

Comments
 (0)