Skip to content

Rustdoc should link fields/variants to their corresponding section #74849

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
Aaron1011 opened this issue Jul 27, 2020 · 1 comment
Closed

Rustdoc should link fields/variants to their corresponding section #74849

Aaron1011 opened this issue Jul 27, 2020 · 1 comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Aaron1011
Copy link
Member

Currently, the generated Rustdoc page for a struct/enum just writes out struct fields/enum variants as plain text. It would nice if Rustdoc generated clickable links to the corresponding section for the field/variant - this would make it easy to read the docs for a particular field.

@Aaron1011 Aaron1011 added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Jul 27, 2020
@jyn514 jyn514 added the C-enhancement Category: An issue proposing an enhancement or a PR with one. label Jul 28, 2020
@GuillaumeGomez
Copy link
Member

It was fixed in #90089.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants