Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustdoc: Swap fields and variant documentations
Previously, the documentation for a variant appeared after the documentation for each of its fields. This was inconsistent with structs and unions, and made little sense on its own; fields are subordinate to variants and should therefore appear later in the documentation.
- Loading branch information