Skip to content

[rustdoc] Please add support for Self in inter-method docs links #70484

New issue

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

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

Already on GitHub? Sign in to your account

Closed
Lokathor opened this issue Mar 27, 2020 · 1 comment
Closed

[rustdoc] Please add support for Self in inter-method docs links #70484

Lokathor opened this issue Mar 27, 2020 · 1 comment
Labels
A-intra-doc-links Area: Intra-doc links, the ability to link to items in docs by name C-feature-request Category: A feature request, i.e: not implemented / a PR. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Lokathor
Copy link
Contributor

Currently if you have a link in a method's docs to another method on the same type you have to put it as

[`read`](RwVolAddr::read)

It would be helpful if Self was recognized when linking to other methods of the same type.

[`read`](Self::read)
@Lokathor Lokathor changed the title [rustdoc] Please add support for inter-doc links in method docs to use Self [rustdoc] Please add support for Self in inter-method docs links Mar 27, 2020
@Centril Centril added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-intra-doc-links Area: Intra-doc links, the ability to link to items in docs by name C-feature-request Category: A feature request, i.e: not implemented / a PR. labels Mar 27, 2020
@ghost
Copy link

ghost commented May 23, 2020

This should be closed, because it looks like duplicate of
#70802
which got resolved by
#71289

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-intra-doc-links Area: Intra-doc links, the ability to link to items in docs by name C-feature-request Category: A feature request, i.e: not implemented / a PR. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants