Add tracking issue number
This commit is contained in:
parent
852bd86d17
commit
3175799208
1 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue