From d1400e95d7ad701fcba1191cb00968c2eae8b394 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Jul 2018 23:16:07 +0300 Subject: renames --- src/parser/grammar/items/structs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/parser/grammar/items/structs.rs') 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) { p.bump(); name(p); - type_params::list(p); + type_params::type_param_list(p); match p.current() { WHERE_KW => { type_params::where_clause(p); @@ -42,7 +42,7 @@ pub(super) fn enum_item(p: &mut Parser) { assert!(p.at(ENUM_KW)); p.bump(); name(p); - type_params::list(p); + type_params::type_param_list(p); type_params::where_clause(p); if p.expect(L_CURLY) { while !p.at(EOF) && !p.at(R_CURLY) { -- cgit v1.2.3