diff options
| -rw-r--r-- | library/core/src/ops/control_flow.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/ops/control_flow.rs b/library/core/src/ops/control_flow.rs index 5ee8e377de1..10a24a545d3 100644 --- a/library/core/src/ops/control_flow.rs +++ b/library/core/src/ops/control_flow.rs @@ -141,7 +141,7 @@ impl<B, C> ControlFlow<B, C> { /// assert!(!ControlFlow::<String, i32>::Continue(3).is_break()); /// ``` #[inline] - #[unstable(feature = "control_flow_enum", reason = "new API", issue = "75744")] + #[stable(feature = "control_flow_enum_is", since = "1.59.0")] pub fn is_break(&self) -> bool { matches!(*self, ControlFlow::Break(_)) } @@ -158,7 +158,7 @@ impl<B, C> ControlFlow<B, C> { /// assert!(ControlFlow::<String, i32>::Continue(3).is_continue()); /// ``` #[inline] - #[unstable(feature = "control_flow_enum", reason = "new API", issue = "75744")] + #[stable(feature = "control_flow_enum_is", since = "1.59.0")] pub fn is_continue(&self) -> bool { matches!(*self, ControlFlow::Continue(_)) } |
