Deprecate signed std::num::NonZeroI* with a call for use cases
This commit is contained in:
@@ -22,6 +22,7 @@ pub use core::num::{FpCategory, ParseIntError, ParseFloatError, TryFromIntError}
|
||||
pub use core::num::Wrapping;
|
||||
|
||||
#[unstable(feature = "nonzero", issue = "49137")]
|
||||
#[allow(deprecated)]
|
||||
pub use core::num::{
|
||||
NonZeroU8, NonZeroI8, NonZeroU16, NonZeroI16, NonZeroU32, NonZeroI32,
|
||||
NonZeroU64, NonZeroI64, NonZeroU128, NonZeroI128, NonZeroUsize, NonZeroIsize,
|
||||
|
||||
Reference in New Issue
Block a user