aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/grammar/items/structs.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-13 16:34:02 +0100
committerAleksey Kladov <[email protected]>2018-08-13 16:34:02 +0100
commit1d95f34e9a1b2b7cebf44e38238b50a693d3394b (patch)
tree64c16a9a81c7cad22b897d3a21895592083cf527 /crates/libsyntax2/src/grammar/items/structs.rs
parentd642c486164632545d93c204c3ba2377207b6c83 (diff)
More renames
Diffstat (limited to 'crates/libsyntax2/src/grammar/items/structs.rs')
-rw-r--r--crates/libsyntax2/src/grammar/items/structs.rs4
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 @@
1use super::*; 1use super::*;
2 2
3pub(super) fn struct_item(p: &mut Parser) { 3pub(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
41pub(super) fn enum_item(p: &mut Parser) { 41pub(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);