@@ -178,7 +178,7 @@ impl<B, C> ControlFlow<B, C> {
178
178
/// assert_eq!(ControlFlow::<String, i32>::Continue(3).break_value(), None);
179
179
/// ```
180
180
#[ inline]
181
- #[ unstable ( feature = "control_flow_enum" , reason = "new API" , issue = "75744 ") ]
181
+ #[ stable ( feature = "control_flow_enum" , since = "CURRENT_RUSTC_VERSION " ) ]
182
182
pub fn break_value ( self ) -> Option < B > {
183
183
match self {
184
184
ControlFlow :: Continue ( ..) => None ,
@@ -189,7 +189,7 @@ impl<B, C> ControlFlow<B, C> {
189
189
/// Maps `ControlFlow<B, C>` to `ControlFlow<T, C>` by applying a function
190
190
/// to the break value in case it exists.
191
191
#[ inline]
192
- #[ unstable ( feature = "control_flow_enum" , reason = "new API" , issue = "75744 ") ]
192
+ #[ stable ( feature = "control_flow_enum" , since = "CURRENT_RUSTC_VERSION " ) ]
193
193
pub fn map_break < T , F > ( self , f : F ) -> ControlFlow < T , C >
194
194
where
195
195
F : FnOnce ( B ) -> T ,
@@ -213,7 +213,7 @@ impl<B, C> ControlFlow<B, C> {
213
213
/// assert_eq!(ControlFlow::<String, i32>::Continue(3).continue_value(), Some(3));
214
214
/// ```
215
215
#[ inline]
216
- #[ unstable ( feature = "control_flow_enum" , reason = "new API" , issue = "75744 ") ]
216
+ #[ stable ( feature = "control_flow_enum" , since = "CURRENT_RUSTC_VERSION " ) ]
217
217
pub fn continue_value ( self ) -> Option < C > {
218
218
match self {
219
219
ControlFlow :: Continue ( x) => Some ( x) ,
@@ -224,7 +224,7 @@ impl<B, C> ControlFlow<B, C> {
224
224
/// Maps `ControlFlow<B, C>` to `ControlFlow<B, T>` by applying a function
225
225
/// to the continue value in case it exists.
226
226
#[ inline]
227
- #[ unstable ( feature = "control_flow_enum" , reason = "new API" , issue = "75744 ") ]
227
+ #[ stable ( feature = "control_flow_enum" , since = "CURRENT_RUSTC_VERSION " ) ]
228
228
pub fn map_continue < T , F > ( self , f : F ) -> ControlFlow < B , T >
229
229
where
230
230
F : FnOnce ( C ) -> T ,
0 commit comments