mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Minor, reorder
This commit is contained in:
parent
97fb5daf72
commit
98ec5f2c21
1 changed files with 5 additions and 4 deletions
|
@ -82,10 +82,6 @@ StructDef =
|
|||
| TupleFieldDefList WhereClause? ';'
|
||||
)
|
||||
|
||||
UnionDef =
|
||||
Attr* Visibility? 'union' Name GenericParamList? WhereClause?
|
||||
RecordFieldDefList
|
||||
|
||||
RecordFieldDefList =
|
||||
'{' fields:RecordFieldDef* '}'
|
||||
|
||||
|
@ -102,6 +98,11 @@ FieldDefList =
|
|||
RecordFieldDefList
|
||||
| TupleFieldDefList
|
||||
|
||||
|
||||
UnionDef =
|
||||
Attr* Visibility? 'union' Name GenericParamList? WhereClause?
|
||||
RecordFieldDefList
|
||||
|
||||
EnumDef =
|
||||
Attr* Visibility? 'enum' Name GenericParamList? WhereClause?
|
||||
variant_list:EnumVariantList
|
||||
|
|
Loading…
Reference in a new issue