diff options
| author | Jonas Platte <jplatte@users.noreply.github.com> | 2020-04-26 11:28:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-26 11:28:44 +0200 |
| commit | 4589bd57e992366a75eac8e488861019b11238a4 (patch) | |
| tree | b9f4ae015176446cc9d6008c43e2e1094149366e | |
| parent | 019ab732ce63a117cbb446db1488916c5c0bd2a7 (diff) | |
| download | rust-4589bd57e992366a75eac8e488861019b11238a4.tar.gz rust-4589bd57e992366a75eac8e488861019b11238a4.zip | |
Fix since attribute for nonzero_bitor impl's
| -rw-r--r-- | src/libcore/num/mod.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 0349678b07b..a259e293b0c 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -111,7 +111,7 @@ assert_eq!(size_of::<Option<core::num::", stringify!($Ty), ">>(), size_of::<", s } } - #[stable(feature = "nonzero_bitor", since = "1.43.0")] + #[stable(feature = "nonzero_bitor", since = "1.45.0")] impl BitOr for $Ty { type Output = Self; #[inline] @@ -122,7 +122,7 @@ assert_eq!(size_of::<Option<core::num::", stringify!($Ty), ">>(), size_of::<", s } } - #[stable(feature = "nonzero_bitor", since = "1.43.0")] + #[stable(feature = "nonzero_bitor", since = "1.45.0")] impl BitOr<$Int> for $Ty { type Output = Self; #[inline] @@ -134,7 +134,7 @@ assert_eq!(size_of::<Option<core::num::", stringify!($Ty), ">>(), size_of::<", s } } - #[stable(feature = "nonzero_bitor", since = "1.43.0")] + #[stable(feature = "nonzero_bitor", since = "1.45.0")] impl BitOr<$Ty> for $Int { type Output = $Ty; #[inline] @@ -146,7 +146,7 @@ assert_eq!(size_of::<Option<core::num::", stringify!($Ty), ">>(), size_of::<", s } } - #[stable(feature = "nonzero_bitor", since = "1.43.0")] + #[stable(feature = "nonzero_bitor", since = "1.45.0")] impl BitOrAssign for $Ty { #[inline] fn bitor_assign(&mut self, rhs: Self) { @@ -154,7 +154,7 @@ assert_eq!(size_of::<Option<core::num::", stringify!($Ty), ">>(), size_of::<", s } } - #[stable(feature = "nonzero_bitor", since = "1.43.0")] + #[stable(feature = "nonzero_bitor", since = "1.45.0")] impl BitOrAssign<$Int> for $Ty { #[inline] fn bitor_assign(&mut self, rhs: $Int) { |
