Skip to content

rustdoc: unions and consts are not color-coded #43523

Closed
@QuietMisdreavus

Description

@QuietMisdreavus

All the various kinds of item in rust are given a color in rustdoc's CSS, but consts and unions never got one. Fixing should just be a matter of collecting the class name that these items use, and adding a couple rules to rustdoc.css to apply some color to them. The question of which color is another matter entirely. >_>

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions