mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +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 =
|
||||
'{' Variant* '}'
|
||||
'{' (Variant (',' Variant)* ','?)? '}'
|
||||
|
||||
Variant =
|
||||
Attr* Visibility? Name FieldList ('=' Expr)?
|
||||
|
|
Loading…
Reference in a new issue