diff options
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index 48d4f4b4a..b653c14a7 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram | |||
@@ -103,7 +103,7 @@ Enum = | |||
103 | VariantList | 103 | VariantList |
104 | 104 | ||
105 | VariantList = | 105 | VariantList = |
106 | '{' Variant* '}' | 106 | '{' (Variant (',' Variant)* ','?)? '}' |
107 | 107 | ||
108 | Variant = | 108 | Variant = |
109 | Attr* Visibility? Name FieldList ('=' Expr)? | 109 | Attr* Visibility? Name FieldList ('=' Expr)? |