diff options
author | Aleksey Kladov <[email protected]> | 2018-07-31 21:16:07 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-31 21:16:07 +0100 |
commit | d1400e95d7ad701fcba1191cb00968c2eae8b394 (patch) | |
tree | 8085d65e9b226592d334b117036cb7725a5d710f /src/parser/grammar/items/structs.rs | |
parent | 6953049e5f67dcc940cc4edc228c1be13a4624d1 (diff) |
renames
Diffstat (limited to 'src/parser/grammar/items/structs.rs')
-rw-r--r-- | src/parser/grammar/items/structs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/grammar/items/structs.rs b/src/parser/grammar/items/structs.rs index c72b50808..7ced542a4 100644 --- a/src/parser/grammar/items/structs.rs +++ b/src/parser/grammar/items/structs.rs | |||
@@ -5,7 +5,7 @@ pub(super) fn struct_item(p: &mut Parser) { | |||
5 | p.bump(); | 5 | p.bump(); |
6 | 6 | ||
7 | name(p); | 7 | name(p); |
8 | type_params::list(p); | 8 | type_params::type_param_list(p); |
9 | match p.current() { | 9 | match p.current() { |
10 | WHERE_KW => { | 10 | WHERE_KW => { |
11 | type_params::where_clause(p); | 11 | type_params::where_clause(p); |
@@ -42,7 +42,7 @@ pub(super) fn enum_item(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); |
45 | type_params::list(p); | 45 | type_params::type_param_list(p); |
46 | type_params::where_clause(p); | 46 | type_params::where_clause(p); |
47 | if p.expect(L_CURLY) { | 47 | if p.expect(L_CURLY) { |
48 | while !p.at(EOF) && !p.at(R_CURLY) { | 48 | while !p.at(EOF) && !p.at(R_CURLY) { |