diff options
author | Aleksey Kladov <[email protected]> | 2018-08-13 16:34:02 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-13 16:34:02 +0100 |
commit | 1d95f34e9a1b2b7cebf44e38238b50a693d3394b (patch) | |
tree | 64c16a9a81c7cad22b897d3a21895592083cf527 /crates/libsyntax2/src/grammar/items/structs.rs | |
parent | d642c486164632545d93c204c3ba2377207b6c83 (diff) |
More renames
Diffstat (limited to 'crates/libsyntax2/src/grammar/items/structs.rs')
-rw-r--r-- | crates/libsyntax2/src/grammar/items/structs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/libsyntax2/src/grammar/items/structs.rs b/crates/libsyntax2/src/grammar/items/structs.rs index 67616eaad..80e77edd3 100644 --- a/crates/libsyntax2/src/grammar/items/structs.rs +++ b/crates/libsyntax2/src/grammar/items/structs.rs | |||
@@ -1,6 +1,6 @@ | |||
1 | use super::*; | 1 | use super::*; |
2 | 2 | ||
3 | pub(super) fn struct_item(p: &mut Parser) { | 3 | pub(super) fn struct_def(p: &mut Parser) { |
4 | assert!(p.at(STRUCT_KW)); | 4 | assert!(p.at(STRUCT_KW)); |
5 | p.bump(); | 5 | p.bump(); |
6 | 6 | ||
@@ -38,7 +38,7 @@ pub(super) fn struct_item(p: &mut Parser) { | |||
38 | } | 38 | } |
39 | } | 39 | } |
40 | 40 | ||
41 | pub(super) fn enum_item(p: &mut Parser) { | 41 | pub(super) fn enum_def(p: &mut Parser) { |
42 | assert!(p.at(ENUM_KW)); | 42 | assert!(p.at(ENUM_KW)); |
43 | p.bump(); | 43 | p.bump(); |
44 | name(p); | 44 | name(p); |