diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 19:27:39 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 19:38:15 +0100 |
commit | fbe60a2e284035d16c2a1ee743ee88db418689aa (patch) | |
tree | c09cf0434ecf282cf1763d34cf838952db105e0a /xtask | |
parent | fcce07d2d1b07cf4578af65b00a243e743a67f05 (diff) |
simplify
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index 42ef2fb82..8c4f953b0 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram | |||
@@ -54,9 +54,8 @@ Abi = | |||
54 | 54 | ||
55 | ParamList = | 55 | ParamList = |
56 | '('( | 56 | '('( |
57 | (Param (',' Param)* ','?)? | 57 | SelfParam |
58 | | SelfParam ','? | 58 | | (SelfParam ',')? (Param (',' Param)* ','?)? |
59 | | SelfParam ',' (Param (',' Param)* ','?) | ||
60 | )')' | 59 | )')' |
61 | 60 | ||
62 | SelfParam = | 61 | SelfParam = |