diff options
author | Aleksey Kladov <[email protected]> | 2018-01-28 20:14:00 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-28 20:14:00 +0000 |
commit | 55e2a478be04bdaba164ea92160e52a6fea5abe5 (patch) | |
tree | 8590725d71429399cf43565879e8a444f19f2113 /src/parser/event_parser/grammar/items/mod.rs | |
parent | c23a2519e18ab1cd8c09c6b25d1c1c8ab9a1f3c1 (diff) |
Reformat
Diffstat (limited to 'src/parser/event_parser/grammar/items/mod.rs')
-rw-r--r-- | src/parser/event_parser/grammar/items/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/parser/event_parser/grammar/items/mod.rs b/src/parser/event_parser/grammar/items/mod.rs index 886c02d37..0a50fffc1 100644 --- a/src/parser/event_parser/grammar/items/mod.rs +++ b/src/parser/event_parser/grammar/items/mod.rs | |||
@@ -9,8 +9,9 @@ pub(super) fn mod_contents(p: &mut Parser, stop_on_r_curly: bool) { | |||
9 | } | 9 | } |
10 | } | 10 | } |
11 | 11 | ||
12 | pub(super) const ITEM_FIRST: TokenSet = | 12 | pub(super) const ITEM_FIRST: TokenSet = token_set![ |
13 | token_set![EXTERN_KW, MOD_KW, USE_KW, STRUCT_KW, ENUM_KW, FN_KW, PUB_KW, POUND]; | 13 | EXTERN_KW, MOD_KW, USE_KW, STRUCT_KW, ENUM_KW, FN_KW, PUB_KW, POUND |
14 | ]; | ||
14 | 15 | ||
15 | fn item(p: &mut Parser) { | 16 | fn item(p: &mut Parser) { |
16 | let item = p.start(); | 17 | let item = p.start(); |