Skip to content

Commit

Permalink
Rollup merge of #94283 - hellow554:stable_flow_control, r=Dylan-DPC
Browse files Browse the repository at this point in the history
remove feature gate in control_flow examples

Stabilization was done in #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 :)
  • Loading branch information
matthiaskrgr authored Feb 24, 2022
2 parents aa0b7ac + c403424 commit f3433d1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions library/core/src/ops/control_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ impl<B, C> ControlFlow<B, C> {
/// # Examples
///
/// ```
/// #![feature(control_flow_enum)]
/// use std::ops::ControlFlow;
///
/// assert!(ControlFlow::<i32, String>::Break(3).is_break());
Expand All @@ -151,7 +150,6 @@ impl<B, C> ControlFlow<B, C> {
/// # Examples
///
/// ```
/// #![feature(control_flow_enum)]
/// use std::ops::ControlFlow;
///
/// assert!(!ControlFlow::<i32, String>::Break(3).is_continue());
Expand Down

0 comments on commit f3433d1

Please sign in to comment.