Skip to content

Commit

Permalink
Rollup merge of #28215 - matklad:grammar-extern-block-item, r=stevekl…
Browse files Browse the repository at this point in the history
…abnik

extern_block should be extern_block_item.

extern_block_item is `extern { bunch of fns }`, extern_block is just `bunch of fns`

r? @steveklabnik
  • Loading branch information
steveklabnik committed Sep 4, 2015
2 parents fd10ded + 73a6199 commit 79ea0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ transcriber : '(' transcriber * ')' | '[' transcriber * ']'

```antlr
item : vis ? mod_item | fn_item | type_item | struct_item | enum_item
| const_item | static_item | trait_item | impl_item | extern_block ;
| const_item | static_item | trait_item | impl_item | extern_block_item ;
```

### Type Parameters
Expand Down

0 comments on commit 79ea0ee

Please sign in to comment.