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

Duplicated documentation for primitive type pointer #55656

Closed
d-e-s-o opened this issue Nov 3, 2018 · 4 comments
Closed

Duplicated documentation for primitive type pointer #55656

d-e-s-o opened this issue Nov 3, 2018 · 4 comments
Assignees
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@d-e-s-o
Copy link
Contributor

d-e-s-o commented Nov 3, 2018

Please have a look at
rust-doc-multiple-links-to-same-stuff
(source https://doc.rust-lang.org/std/primitive.pointer.html)

It appears that for some reason the documentation for primitive type pointer contains a duplicated set of documentation links. is_null, as_ref and all subsequent methods appear twice in the pane on the left. The links are exactly identical from what I can tell. Not sure whether the problems lies with Rust doc, the documentation itself, or some part of the doc.rust-lang.org( infrastructure (unlikely, I guess).

@steveklabnik
Copy link
Member

steveklabnik commented Nov 4, 2018 via email

@GuillaumeGomez
Copy link
Member

The issue comes from rustdoc. I think it's because of methods on dereference item. Taking a look.

@GuillaumeGomez GuillaumeGomez self-assigned this Nov 4, 2018
@GuillaumeGomez GuillaumeGomez added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Nov 4, 2018
@oli-obk
Copy link
Contributor

oli-obk commented Nov 4, 2018

isn't this duplication just a result of *const T and *mut T being distinct types?

@GuillaumeGomez
Copy link
Member

Possibly.

bors added a commit that referenced this issue Dec 4, 2018
…uietMisdreavus

Fixes primitive sidebar link generation

Fixes #50746.
Fixes #55656.

r? @QuietMisdreavus
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

4 participants