Skip to content

Commit 2f97552

Browse files
committed
Re-export NonZero signed variant in std
1 parent 3750348 commit 2f97552

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/libstd/num.rs

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ pub use core::num::Wrapping;
1313

1414
#[stable(feature = "nonzero", since = "1.28.0")]
1515
pub use core::num::{NonZeroU8, NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU128, NonZeroUsize};
16+
#[stable(feature = "signed_nonzero", since = "1.34.0")]
17+
pub use core::num::{NonZeroI8, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI128, NonZeroIsize};
1618

1719
#[cfg(test)] use crate::fmt;
1820
#[cfg(test)] use crate::ops::{Add, Sub, Mul, Div, Rem};

0 commit comments

Comments
 (0)