Skip to content

Commit

Permalink
Fix attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Apr 21, 2024
1 parent 89bb0ba commit 4fee811
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/core/src/num/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ pub use nonzero::ZeroablePrimitive;
#[stable(feature = "generic_nonzero", since = "CURRENT_RUSTC_VERSION")]
pub use nonzero::NonZero;

#[allow(deprecated_in_future)]
#[stable(feature = "nonzero", since = "1.28.0")]
#[allow(deprecated, deprecated_in_future)]
pub use nonzero::{NonZeroU128, NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8, NonZeroUsize};

#[allow(deprecated_in_future)]
#[stable(feature = "signed_nonzero", since = "1.34.0")]
#[allow(deprecated, deprecated_in_future)]
pub use nonzero::{NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8, NonZeroIsize};

#[stable(feature = "try_from", since = "1.34.0")]
Expand Down
4 changes: 2 additions & 2 deletions library/std/src/num.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ pub use core::num::ZeroablePrimitive;
#[stable(feature = "generic_nonzero", since = "CURRENT_RUSTC_VERSION")]
pub use core::num::NonZero;

#[allow(deprecated_in_future)]
#[stable(feature = "signed_nonzero", since = "1.34.0")]
#[allow(deprecated, deprecated_in_future)]
pub use core::num::{NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8, NonZeroIsize};

#[allow(deprecated_in_future)]
#[stable(feature = "nonzero", since = "1.28.0")]
#[allow(deprecated, deprecated_in_future)]
pub use core::num::{NonZeroU128, NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8, NonZeroUsize};

#[stable(feature = "int_error_matching", since = "1.55.0")]
Expand Down

0 comments on commit 4fee811

Please sign in to comment.