diff options
| author | Marcel Hellwig <github@cookiesoft.de> | 2022-02-23 10:42:46 +0100 |
|---|---|---|
| committer | Marcel Hellwig <github@cookiesoft.de> | 2022-02-23 10:42:46 +0100 |
| commit | c40342420370225d7d7138cb5d19f84b3146a77d (patch) | |
| tree | 1006cf5af9cd6e0cac401af541667707dbb85832 /library/core/src/ops | |
| parent | bafe8d06e015eb00724d3d497516191d6681943f (diff) | |
remove feature gate in control_flow examples
Diffstat (limited to 'library/core/src/ops')
| -rw-r--r-- | library/core/src/ops/control_flow.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/core/src/ops/control_flow.rs b/library/core/src/ops/control_flow.rs index 10a24a545d3..e34e26746c0 100644 --- a/library/core/src/ops/control_flow.rs +++ b/library/core/src/ops/control_flow.rs @@ -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()); |
