@@ -39,13 +39,13 @@ macro_rules! doc {
39
39
/// 2. Aggregate the `<async expression>`s from each branch, including the
40
40
/// disabled ones. If the branch is disabled, `<async expression>` is still
41
41
/// evaluated, but the resulting future is not polled.
42
- /// 3. Concurrently await on the results for all remaining `<async expression>`s .
43
- /// 4. Once an `<async expression>` returns a value, attempt to apply the value
44
- /// to the provided `<pattern>`, if the pattern matches, evaluate `<handler>`
45
- /// and return . If the pattern **does not** match, disable the current branch
46
- /// and for the remainder of the current call to `select!`. Continue from step 3.
47
- /// 5. If **all** branches are disabled, evaluate the `else` expression. If no
48
- /// else branch is provided, panic.
42
+ /// 3. If **all** branches are disabled: go to step 6 .
43
+ /// 4. Concurrently await on the results for all remaining `<async expression>`s.
44
+ /// 5. Once an `<async expression>` returns a value, attempt to apply the value to the
45
+ /// provided `<pattern>` . If the pattern matches, evaluate the `<handler>` and return.
46
+ /// If the pattern **does not** match, disable the current branch for the remainder of
47
+ /// the current call to `select!`. Continue from step 3.
48
+ /// 6. Evaluate the ` else` expression. If no else expression is provided, panic.
49
49
///
50
50
/// # Runtime characteristics
51
51
///
0 commit comments