Skip to content
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

Rustdoc sidebar: methods from impls on references to generic types differing in mutability have the same link #52321

Closed
lqd opened this issue Jul 12, 2018 · 2 comments
Assignees

Comments

@lqd
Copy link
Member

lqd commented Jul 12, 2018

In the sidebar for Option, https://doc.rust-lang.org/nightly/std/option/enum.Option.html, we can see two cloned methods.

image

The problem is that both links have the same URL even though they come from different impls: they point to https://doc.rust-lang.org/nightly/std/option/enum.Option.html#method.cloned when the second one should probably point to https://doc.rust-lang.org/nightly/std/option/enum.Option.html#method.cloned-1

Assigning to imperio as he requested I do so :)

@ollie27
Copy link
Member

ollie27 commented Jul 12, 2018

This looks like a duplicate of #50746.

@lqd
Copy link
Member Author

lqd commented Jul 12, 2018

True :) thank you @ollie27

@lqd lqd closed this as completed Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants