Master is 1.55 now :(

This commit is contained in:
Scott McMurray 2021-06-14 10:37:05 -07:00
parent 65a0a8b386
commit 590d4526e9

View file

@ -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.