Rollup merge of #28204 - matklad:grammar-duplicate-else-tail, r=steveklabnik
The rule `else_tail` was duplicated in `if` and `if_let` sections. I guess that this is a mistake. r? @steveklabnik
This commit is contained in:
commit
35019737cc
1 changed files with 0 additions and 1 deletions
|
|
@ -688,7 +688,6 @@ match_pat : pat [ '|' pat ] * [ "if" expr ] ? ;
|
|||
```antlr
|
||||
if_let_expr : "if" "let" pat '=' expr '{' block '}'
|
||||
else_tail ? ;
|
||||
else_tail : "else" [ if_expr | if_let_expr | '{' block '}' ] ;
|
||||
```
|
||||
|
||||
### While let loops
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue