mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
Finalize Enum grammar
This commit is contained in:
parent
1766aae145
commit
6b25f640a6
@ -103,7 +103,7 @@ Enum =
|
||||
VariantList
|
||||
|
||||
VariantList =
|
||||
'{' Variant* '}'
|
||||
'{' (Variant (',' Variant)* ','?)? '}'
|
||||
|
||||
Variant =
|
||||
Attr* Visibility? Name FieldList ('=' Expr)?
|
||||
|
Loading…
Reference in New Issue
Block a user