mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Finalize Enum grammar
This commit is contained in:
parent
1766aae145
commit
6b25f640a6
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ Enum =
|
||||||
VariantList
|
VariantList
|
||||||
|
|
||||||
VariantList =
|
VariantList =
|
||||||
'{' Variant* '}'
|
'{' (Variant (',' Variant)* ','?)? '}'
|
||||||
|
|
||||||
Variant =
|
Variant =
|
||||||
Attr* Visibility? Name FieldList ('=' Expr)?
|
Attr* Visibility? Name FieldList ('=' Expr)?
|
||||||
|
|
Loading…
Reference in a new issue