Switch NonZero
alias direction.
This commit is contained in:
parent
8af70c7a18
commit
4f0ce6fca2
4 changed files with 52 additions and 19 deletions
|
@ -16,6 +16,16 @@ pub use core::num::Wrapping;
|
|||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub use core::num::{FpCategory, ParseFloatError, ParseIntError, TryFromIntError};
|
||||
|
||||
#[unstable(
|
||||
feature = "nonzero_internals",
|
||||
reason = "implementation detail which may disappear or be replaced at any time",
|
||||
issue = "none"
|
||||
)]
|
||||
pub use core::num::ZeroablePrimitive;
|
||||
|
||||
#[unstable(feature = "generic_nonzero", issue = "120257")]
|
||||
pub use core::num::NonZero;
|
||||
|
||||
#[stable(feature = "signed_nonzero", since = "1.34.0")]
|
||||
pub use core::num::{NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8, NonZeroIsize};
|
||||
#[stable(feature = "nonzero", since = "1.28.0")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue