mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
Minor, reorder
This commit is contained in:
parent
97fb5daf72
commit
98ec5f2c21
@ -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 New Issue
Block a user