diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 15:49:13 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 15:49:13 +0100 |
commit | 0a9e3ccc262fbcbd4cdaab30384f8cb71584544b (patch) | |
tree | c320545ea73f6231ab9a199f7c402f1b77d461a8 /crates/ra_parser/src/grammar.rs | |
parent | 6f8aa75329d0a4e588e58b8f22f7932bf3d3a706 (diff) |
Rename FieldDef -> Field
Diffstat (limited to 'crates/ra_parser/src/grammar.rs')
-rw-r--r-- | crates/ra_parser/src/grammar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar.rs b/crates/ra_parser/src/grammar.rs index 3610e7392..03041d110 100644 --- a/crates/ra_parser/src/grammar.rs +++ b/crates/ra_parser/src/grammar.rs | |||
@@ -142,7 +142,7 @@ pub(crate) fn reparser( | |||
142 | ) -> Option<fn(&mut Parser)> { | 142 | ) -> Option<fn(&mut Parser)> { |
143 | let res = match node { | 143 | let res = match node { |
144 | BLOCK_EXPR => expressions::block_expr, | 144 | BLOCK_EXPR => expressions::block_expr, |
145 | RECORD_FIELD_DEF_LIST => items::record_field_def_list, | 145 | RECORD_FIELD_LIST => items::record_field_def_list, |
146 | RECORD_EXPR_FIELD_LIST => items::record_field_list, | 146 | RECORD_EXPR_FIELD_LIST => items::record_field_list, |
147 | ENUM_VARIANT_LIST => items::enum_variant_list, | 147 | ENUM_VARIANT_LIST => items::enum_variant_list, |
148 | MATCH_ARM_LIST => items::match_arm_list, | 148 | MATCH_ARM_LIST => items::match_arm_list, |