Closed
Description
Summary
Merge the following sections that appear on module (and crate) pages into a single "Types" section:
- Structs
- Enums
- Unions
- Type Definitions
Why?
- Usually, the exact kind of type something is doesn't matter when you're looking at an overview.
- It can be confusing to have to so many sections, and it creates more places where you have to look for what you want.
- After the recent color reduction PR (rustdoc: use smaller number of colors to distinguish items #91480), the types are no longer colored differently, so it makes more sense to merge their sections.