Skip to content

Commit f3433d1

Browse files
authored
Rollup merge of rust-lang#94283 - hellow554:stable_flow_control, r=Dylan-DPC
remove feature gate in control_flow examples Stabilization was done in rust-lang#91091, but the two examples weren't updated accordingly. Probably too late to put it into stable, but it should be in the next release :)
2 parents aa0b7ac + c403424 commit f3433d1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

library/core/src/ops/control_flow.rs

-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ impl<B, C> ControlFlow<B, C> {
134134
/// # Examples
135135
///
136136
/// ```
137-
/// #![feature(control_flow_enum)]
138137
/// use std::ops::ControlFlow;
139138
///
140139
/// assert!(ControlFlow::<i32, String>::Break(3).is_break());
@@ -151,7 +150,6 @@ impl<B, C> ControlFlow<B, C> {
151150
/// # Examples
152151
///
153152
/// ```
154-
/// #![feature(control_flow_enum)]
155153
/// use std::ops::ControlFlow;
156154
///
157155
/// assert!(!ControlFlow::<i32, String>::Break(3).is_continue());

0 commit comments

Comments
 (0)