aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 20:58:36 +0100
committerAleksey Kladov <[email protected]>2020-07-31 21:04:12 +0100
commitb9c6aa9ec9e491160a6ad7c5ec66151bd67b0ecd (patch)
tree0ab0318ef1bd2bea1834fbe2ec0c899b5dd6189b /xtask
parent675e86becfab2615528152487db49bce1b43bd60 (diff)
Unify naming of tuple fields
Diffstat (limited to 'xtask')
-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