Unnamed repository; edit this file 'description' to name the repository.
Swap RecordExprField optional part
| -rw-r--r-- | lib/ungrammar/rust.ungram | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ungrammar/rust.ungram b/lib/ungrammar/rust.ungram index 0e91b7a849..c3b31cb671 100644 --- a/lib/ungrammar/rust.ungram +++ b/lib/ungrammar/rust.ungram @@ -418,7 +418,7 @@ RecordExprFieldList = '}' RecordExprField = - Attr* NameRef (':' Expr)? + Attr* (NameRef ':')? Expr CallExpr = Attr* Expr ArgList |