Skip to content

rustdoc: DerefMut methods are missing from sidebar #63276

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
lnicola opened this issue Aug 5, 2019 · 5 comments
Closed

rustdoc: DerefMut methods are missing from sidebar #63276

lnicola opened this issue Aug 5, 2019 · 5 comments
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@lnicola
Copy link
Member

lnicola commented Aug 5, 2019

Take a look at https://doc.rust-lang.org/std/vec/struct.Vec.html. The sidebar has Deref<Target=[T]>, but not DerefMut, so methods like sort are missing.

@estebank estebank added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Aug 5, 2019
@jonas-schievink jonas-schievink added the C-bug Category: This is a bug. label Aug 5, 2019
@GuillaumeGomez
Copy link
Member

Thanks for reporting it. Since another issue is already open, I'll close this one.

Duplicates of #60326.

@lnicola
Copy link
Member Author

lnicola commented Aug 7, 2019

@GuillaumeGomez do you happen to know when the documentation published on https://doc.rust-lang.org/std/vec/struct.Vec.html will get updated?

@leo60228
Copy link
Contributor

leo60228 commented Aug 7, 2019

@lnicola It probably won't be fixed there until the next stable release, but it's already fixed on the nightly docs: https://doc.rust-lang.org/nightly/std/vec/struct.Vec.html

@lnicola
Copy link
Member Author

lnicola commented Aug 7, 2019

@leo60228 thanks, I thought https://doc.rust-lang.org/std/vec/struct.Vec.html was the location of the nightly docs 😄.

I suppose it's intentional that the DerefMut methods show up under Deref?

@GuillaumeGomez
Copy link
Member

Yes it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. 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

5 participants