From 4d97f5f037c1b061215d4b0fb32d48a1b8be836f Mon Sep 17 00:00:00 2001 From: Pavan Kumar Sunkara Date: Sat, 5 Sep 2020 03:06:05 +0200 Subject: Rename record_field_pat to record_pat_field --- crates/parser/src/grammar/patterns.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/parser/src/grammar/patterns.rs') diff --git a/crates/parser/src/grammar/patterns.rs b/crates/parser/src/grammar/patterns.rs index 796f206e1..7e7f73dee 100644 --- a/crates/parser/src/grammar/patterns.rs +++ b/crates/parser/src/grammar/patterns.rs @@ -188,7 +188,7 @@ fn tuple_pat_fields(p: &mut Parser) { p.expect(T![')']); } -// test record_field_pat_list +// test record_pat_field_list // fn foo() { // let S {} = (); // let S { f, ref mut g } = (); @@ -208,7 +208,7 @@ fn record_pat_field_list(p: &mut Parser) { c => { let m = p.start(); match c { - // test record_field_pat + // test record_pat_field // fn foo() { // let S { 0: 1 } = (); // let S { x: 1 } = (); -- cgit v1.2.3