Rollup merge of #31396 - mbrubeck:grammar-stmts, r=alexcrichton
"stmt" already includes the terminating semicolon.
This commit is contained in:
commit
3cccf261fc
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ struct_expr : expr_path '{' ident ':' expr
|
||||||
### Block expressions
|
### Block expressions
|
||||||
|
|
||||||
```antlr
|
```antlr
|
||||||
block_expr : '{' [ stmt ';' | item ] *
|
block_expr : '{' [ stmt | item ] *
|
||||||
[ expr ] '}' ;
|
[ expr ] '}' ;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue