Skip to content

Structs/enums variant don't have a way to make an anchor in rust doc #44540

Closed
@GuillaumeGomez

Description

@GuillaumeGomez

Currently, we have to look into the HTML directly if we want to give an anchor to a struct/enum variant. We should use the same way we do for other methods/functions/types.

Also, the generated symbol should be before, it'd allow to remove any potential issue of space we encountered recently.

cc @rust-lang/docs

Metadata

Metadata

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-feature-requestCategory: A feature request, i.e: not implemented / a PR.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