diff options
author | Aleksey Kladov <[email protected]> | 2018-08-11 08:56:40 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-11 08:56:40 +0100 |
commit | 78f41ea707cc8aeaa8d1ba8a7216cb8712f13e98 (patch) | |
tree | 0553368ba2a5b8f67f793413beb22225e3416126 /crates/libsyntax2/src/grammar/items | |
parent | 2e971cdcbbeb543ab6b66dc8558644c1f4a80670 (diff) |
more renames
Diffstat (limited to 'crates/libsyntax2/src/grammar/items')
-rw-r--r-- | crates/libsyntax2/src/grammar/items/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/libsyntax2/src/grammar/items/mod.rs b/crates/libsyntax2/src/grammar/items/mod.rs index be4ff976a..6f401ea1b 100644 --- a/crates/libsyntax2/src/grammar/items/mod.rs +++ b/crates/libsyntax2/src/grammar/items/mod.rs | |||
@@ -121,7 +121,7 @@ pub(super) fn maybe_item(p: &mut Parser) -> MaybeItem { | |||
121 | // unsafe auto trait T {} | 121 | // unsafe auto trait T {} |
122 | TRAIT_KW => { | 122 | TRAIT_KW => { |
123 | traits::trait_item(p); | 123 | traits::trait_item(p); |
124 | TRAIT_ITEM | 124 | TRAIT |
125 | } | 125 | } |
126 | 126 | ||
127 | // test unsafe_impl | 127 | // test unsafe_impl |
@@ -161,7 +161,7 @@ fn items_without_modifiers(p: &mut Parser) -> Option<SyntaxKind> { | |||
161 | } | 161 | } |
162 | MOD_KW => { | 162 | MOD_KW => { |
163 | mod_item(p); | 163 | mod_item(p); |
164 | MOD_ITEM | 164 | MODULE |
165 | } | 165 | } |
166 | STRUCT_KW => { | 166 | STRUCT_KW => { |
167 | structs::struct_item(p); | 167 | structs::struct_item(p); |