aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r--xtask/src/codegen/rust.ungram8
1 files changed, 4 insertions, 4 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index b14801f24..aca23890c 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -359,7 +359,7 @@ IndexExpr =
359 Attr* base:Expr '[' index:Expr ']' 359 Attr* base:Expr '[' index:Expr ']'
360 360
361TupleExpr = 361TupleExpr =
362 Attr* '(' Attr* (Expr (',' Expr)* ','?)? ')' 362 Attr* '(' Attr* fields:(Expr (',' Expr)* ','?)? ')'
363 363
364RecordExpr = 364RecordExpr =
365 Path RecordExprFieldList 365 Path RecordExprFieldList
@@ -560,16 +560,16 @@ RecordPatField =
560 Attr* (NameRef ':')? Pat 560 Attr* (NameRef ':')? Pat
561 561
562TupleStructPat = 562TupleStructPat =
563 Path '(' args:(Pat (',' Pat)* ','?)? ')' 563 Path '(' fields:(Pat (',' Pat)* ','?)? ')'
564 564
565TuplePat = 565TuplePat =
566 '(' args:(Pat (',' Pat)* ','?)? ')' 566 '(' fields:(Pat (',' Pat)* ','?)? ')'
567 567
568ParenPat = 568ParenPat =
569 '(' Pat ')' 569 '(' Pat ')'
570 570
571SlicePat = 571SlicePat =
572 '[' args:(Pat (',' Pat)* ','?)? ']' 572 '[' (Pat (',' Pat)* ','?)? ']'
573 573
574PathPat = 574PathPat =
575 Path 575 Path