From 4589bd57e992366a75eac8e488861019b11238a4 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sun, 26 Apr 2020 11:28:44 +0200 Subject: [PATCH] Fix since attribute for nonzero_bitor impl's --- src/libcore/num/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 0349678b07b22..a259e293b0c1a 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -111,7 +111,7 @@ assert_eq!(size_of::>(), 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::>(), 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::>(), 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::>(), 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::>(), 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) {