Skip to content

Commit d05133f

Browse files
committed
Update feature name, add tracking issue number
1 parent c4f6f7a commit d05133f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/core/src/ops/control_flow.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ impl<B, C> ControlFlow<B, C> {
150150
/// ```
151151
#[inline]
152152
#[stable(feature = "control_flow_enum_is", since = "1.59.0")]
153-
#[rustc_const_unstable(feature = "const_control_flow", issue = "none")]
153+
#[rustc_const_unstable(feature = "min_const_control_flow", issue = "148738")]
154154
pub const fn is_break(&self) -> bool {
155155
matches!(*self, ControlFlow::Break(_))
156156
}
@@ -167,7 +167,7 @@ impl<B, C> ControlFlow<B, C> {
167167
/// ```
168168
#[inline]
169169
#[stable(feature = "control_flow_enum_is", since = "1.59.0")]
170-
#[rustc_const_unstable(feature = "const_control_flow", issue = "none")]
170+
#[rustc_const_unstable(feature = "min_const_control_flow", issue = "148738")]
171171
pub const fn is_continue(&self) -> bool {
172172
matches!(*self, ControlFlow::Continue(_))
173173
}
@@ -259,7 +259,7 @@ impl<B, C> ControlFlow<B, C> {
259259
/// ```
260260
#[inline]
261261
#[unstable(feature = "control_flow_ok", issue = "140266")]
262-
#[rustc_const_unstable(feature = "const_control_flow", issue = "none")]
262+
#[rustc_const_unstable(feature = "min_const_control_flow", issue = "148738")]
263263
pub const fn break_ok(self) -> Result<B, C> {
264264
match self {
265265
ControlFlow::Continue(c) => Err(c),
@@ -364,7 +364,7 @@ impl<B, C> ControlFlow<B, C> {
364364
/// ```
365365
#[inline]
366366
#[unstable(feature = "control_flow_ok", issue = "140266")]
367-
#[rustc_const_unstable(feature = "const_control_flow", issue = "none")]
367+
#[rustc_const_unstable(feature = "min_const_control_flow", issue = "148738")]
368368
pub const fn continue_ok(self) -> Result<C, B> {
369369
match self {
370370
ControlFlow::Continue(c) => Ok(c),

0 commit comments

Comments
 (0)