Skip to content

Commit ac61a9c

Browse files
committed
introduce from_nonzero feature
1 parent f451580 commit ac61a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/libcore/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ assert_eq!(size_of::<Option<std::num::", stringify!($Ty), ">>(), size_of::<", st
9393

9494
}
9595

96-
#[stable(feature = "nonzero", since = "1.28.0")]
96+
#[stable(feature = "from_nonzero", since = "1.31.0")]
9797
impl From<$Ty> for $Int {
9898
fn from(nonzero: $Ty) -> Self {
9999
nonzero.0 .0

0 commit comments

Comments
 (0)