remove feature gate in control_flow examples

This commit is contained in:
Marcel Hellwig 2022-02-23 10:42:46 +01:00
parent bafe8d06e0
commit c403424203

View File

@ -134,7 +134,6 @@ impl<B, C> ControlFlow<B, C> {
/// # Examples /// # Examples
/// ///
/// ``` /// ```
/// #![feature(control_flow_enum)]
/// use std::ops::ControlFlow; /// use std::ops::ControlFlow;
/// ///
/// assert!(ControlFlow::<i32, String>::Break(3).is_break()); /// assert!(ControlFlow::<i32, String>::Break(3).is_break());
@ -151,7 +150,6 @@ impl<B, C> ControlFlow<B, C> {
/// # Examples /// # Examples
/// ///
/// ``` /// ```
/// #![feature(control_flow_enum)]
/// use std::ops::ControlFlow; /// use std::ops::ControlFlow;
/// ///
/// assert!(!ControlFlow::<i32, String>::Break(3).is_continue()); /// assert!(!ControlFlow::<i32, String>::Break(3).is_continue());