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 generates "Notable traits" that are impossible #76590

Closed
cuviper opened this issue Sep 11, 2020 · 3 comments
Closed

rustdoc generates "Notable traits" that are impossible #76590

cuviper opened this issue Sep 11, 2020 · 3 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

@cuviper
Copy link
Member

cuviper commented Sep 11, 2020

I just noticed that the documentation on Vec::spare_capacity_mut(&mut self) -> &mut [MaybeUninit<T>] has a hover icon with "Notable traits for &'_ [u8]". MaybeUninit<T> can never be a u8 (though it could be MaybeUninit<u8>), so this information is irrelevant.

image

I saw that on documentation for "Version 1.48.0-nightly (a1947b3 2020-09-10)".

@cuviper cuviper added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. C-bug Category: This is a bug. labels Sep 11, 2020
@scottmcm
Copy link
Member

Related: #55082

@notriddle
Copy link
Contributor

This was a duplicate of #91347, and was fixed by #91366.

@cuviper
Copy link
Member Author

cuviper commented Dec 10, 2021

Thanks, I've confirmed that it's gone in current nightly docs.

@cuviper cuviper closed this as completed Dec 10, 2021
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

4 participants