remove feature gate in control_flow examples
This commit is contained in:
parent
bafe8d06e0
commit
c403424203
@ -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());
|
||||
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user