Skip to content

Commit 73a6199

Browse files
committed
reference grammar: fix item definition
extern_block should extern_block_item
1 parent 0762f58 commit 73a6199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/grammar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ transcriber : '(' transcriber * ')' | '[' transcriber * ']'
306306

307307
```antlr
308308
item : vis ? mod_item | fn_item | type_item | struct_item | enum_item
309-
| const_item | static_item | trait_item | impl_item | extern_block ;
309+
| const_item | static_item | trait_item | impl_item | extern_block_item ;
310310
```
311311

312312
### Type Parameters

0 commit comments

Comments
 (0)