Add tracking issue number

This commit is contained in:
nxsaken 2025-11-09 13:33:47 +04:00
parent 852bd86d17
commit 3175799208

View file

@ -184,7 +184,7 @@ impl<B, C> ControlFlow<B, C> {
/// ```
#[inline]
#[stable(feature = "control_flow_enum", since = "1.83.0")]
#[rustc_const_unstable(feature = "const_control_flow", issue = "none")]
#[rustc_const_unstable(feature = "const_control_flow", issue = "148739")]
pub const fn break_value(self) -> Option<B>
where
Self: [const] Destruct,
@ -273,7 +273,7 @@ impl<B, C> ControlFlow<B, C> {
/// to the break value in case it exists.
#[inline]
#[stable(feature = "control_flow_enum", since = "1.83.0")]
#[rustc_const_unstable(feature = "const_control_flow", issue = "none")]
#[rustc_const_unstable(feature = "const_control_flow", issue = "148739")]
pub const fn map_break<T, F>(self, f: F) -> ControlFlow<T, C>
where
F: [const] FnOnce(B) -> T + [const] Destruct,
@ -297,7 +297,7 @@ impl<B, C> ControlFlow<B, C> {
/// ```
#[inline]
#[stable(feature = "control_flow_enum", since = "1.83.0")]
#[rustc_const_unstable(feature = "const_control_flow", issue = "none")]
#[rustc_const_unstable(feature = "const_control_flow", issue = "148739")]
pub const fn continue_value(self) -> Option<C>
where
Self: [const] Destruct,
@ -385,7 +385,7 @@ impl<B, C> ControlFlow<B, C> {
/// to the continue value in case it exists.
#[inline]
#[stable(feature = "control_flow_enum", since = "1.83.0")]
#[rustc_const_unstable(feature = "const_control_flow", issue = "none")]
#[rustc_const_unstable(feature = "const_control_flow", issue = "148739")]
pub const fn map_continue<T, F>(self, f: F) -> ControlFlow<B, T>
where
F: [const] FnOnce(C) -> T + [const] Destruct,