Skip to content

Commit 4a9b976

Browse files
authored
Rollup merge of rust-lang#71571 - jplatte:patch-1, r=jonas-schievink
Fix since attribute for nonzero_bitor impl's Added in rust-lang#69813, took a while to merge so the since attributes went out of date.
2 parents 3b3f7bd + 4589bd5 commit 4a9b976

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libcore/num/mod.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ assert_eq!(size_of::<Option<core::num::", stringify!($Ty), ">>(), size_of::<", s
111111
}
112112
}
113113

114-
#[stable(feature = "nonzero_bitor", since = "1.43.0")]
114+
#[stable(feature = "nonzero_bitor", since = "1.45.0")]
115115
impl BitOr for $Ty {
116116
type Output = Self;
117117
#[inline]
@@ -122,7 +122,7 @@ assert_eq!(size_of::<Option<core::num::", stringify!($Ty), ">>(), size_of::<", s
122122
}
123123
}
124124

125-
#[stable(feature = "nonzero_bitor", since = "1.43.0")]
125+
#[stable(feature = "nonzero_bitor", since = "1.45.0")]
126126
impl BitOr<$Int> for $Ty {
127127
type Output = Self;
128128
#[inline]
@@ -134,7 +134,7 @@ assert_eq!(size_of::<Option<core::num::", stringify!($Ty), ">>(), size_of::<", s
134134
}
135135
}
136136

137-
#[stable(feature = "nonzero_bitor", since = "1.43.0")]
137+
#[stable(feature = "nonzero_bitor", since = "1.45.0")]
138138
impl BitOr<$Ty> for $Int {
139139
type Output = $Ty;
140140
#[inline]
@@ -146,15 +146,15 @@ assert_eq!(size_of::<Option<core::num::", stringify!($Ty), ">>(), size_of::<", s
146146
}
147147
}
148148

149-
#[stable(feature = "nonzero_bitor", since = "1.43.0")]
149+
#[stable(feature = "nonzero_bitor", since = "1.45.0")]
150150
impl BitOrAssign for $Ty {
151151
#[inline]
152152
fn bitor_assign(&mut self, rhs: Self) {
153153
*self = *self | rhs;
154154
}
155155
}
156156

157-
#[stable(feature = "nonzero_bitor", since = "1.43.0")]
157+
#[stable(feature = "nonzero_bitor", since = "1.45.0")]
158158
impl BitOrAssign<$Int> for $Ty {
159159
#[inline]
160160
fn bitor_assign(&mut self, rhs: $Int) {

0 commit comments

Comments
 (0)