Skip to content

[rustdoc] Incorrent links in sidebar for same name methods #57093

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
shalzz opened this issue Dec 24, 2018 · 1 comment
Closed

[rustdoc] Incorrent links in sidebar for same name methods #57093

shalzz opened this issue Dec 24, 2018 · 1 comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@shalzz
Copy link
Contributor

shalzz commented Dec 24, 2018

rustdoc links to the first method for same name methods in the sidebar

For example in the sidebar for https://doc.rust-lang.org/std/vec/struct.Vec.html
the len method below the Methods from Deref<Target = [T]> section
links to https://doc.rust-lang.org/std/vec/struct.Vec.html#method.len
when it should link to https://doc.rust-lang.org/std/vec/struct.Vec.html#method.len-1

This seems like same as issue #25001 but the fix isn't applied to the sidebar as well.

@shalzz shalzz changed the title rustdoc links to the first method for multiple methods with the same name in the sidebar [rustdoc] Incorrent links in sidebar for same name methods Dec 24, 2018
@frewsxcv frewsxcv added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Dec 24, 2018
@GuillaumeGomez
Copy link
Member

This is working on stable so I'm closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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