diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 16:56:53 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 16:56:53 +0100 |
commit | 1766aae145c6925a33e427f2fe6ef2a56c301665 (patch) | |
tree | dfcf22990794a5990602a468b862d544fbe63f0a /xtask/src/codegen | |
parent | 609680ef97dbf82c07b6b06e21aa366423892304 (diff) |
Rename EnumVariant -> Variant
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index 9c6797cb7..48d4f4b4a 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram | |||
@@ -100,12 +100,12 @@ FieldList = | |||
100 | 100 | ||
101 | Enum = | 101 | Enum = |
102 | Attr* Visibility? 'enum' Name GenericParamList? WhereClause? | 102 | Attr* Visibility? 'enum' Name GenericParamList? WhereClause? |
103 | variant_list:EnumVariantList | 103 | VariantList |
104 | 104 | ||
105 | EnumVariantList = | 105 | VariantList = |
106 | '{' variants:EnumVariant* '}' | 106 | '{' Variant* '}' |
107 | 107 | ||
108 | EnumVariant = | 108 | Variant = |
109 | Attr* Visibility? Name FieldList ('=' Expr)? | 109 | Attr* Visibility? Name FieldList ('=' Expr)? |
110 | 110 | ||
111 | Union = | 111 | Union = |