Master is 1.55 now :(
This commit is contained in:
parent
65a0a8b386
commit
590d4526e9
1 changed files with 3 additions and 3 deletions
|
@ -46,15 +46,15 @@ use crate::{convert, ops};
|
|||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
#[stable(feature = "control_flow_enum_type", since = "1.54.0")]
|
||||
#[stable(feature = "control_flow_enum_type", since = "1.55.0")]
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
pub enum ControlFlow<B, C = ()> {
|
||||
/// Move on to the next phase of the operation as normal.
|
||||
#[stable(feature = "control_flow_enum_type", since = "1.54.0")]
|
||||
#[stable(feature = "control_flow_enum_type", since = "1.55.0")]
|
||||
#[cfg_attr(not(bootstrap), lang = "Continue")]
|
||||
Continue(C),
|
||||
/// Exit the operation without running subsequent phases.
|
||||
#[stable(feature = "control_flow_enum_type", since = "1.54.0")]
|
||||
#[stable(feature = "control_flow_enum_type", since = "1.55.0")]
|
||||
#[cfg_attr(not(bootstrap), lang = "Break")]
|
||||
Break(B),
|
||||
// Yes, the order of the variants doesn't match the type parameters.
|
||||
|
|
Loading…
Add table
Reference in a new issue