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 fails to show where T: Sized #49477

Closed
SimonSapin opened this issue Mar 29, 2018 · 2 comments
Closed

Rustdoc fails to show where T: Sized #49477

SimonSapin opened this issue Mar 29, 2018 · 2 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@SimonSapin
Copy link
Contributor

https://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.offset is documented as pub unsafe fn offset(self, count: isize) -> *const T inside the impl<T> *const T where T: ?Sized, but the source code for that method additionally has a where T: Sized clause which should be shown in docs.

@SimonSapin SimonSapin added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. WG-docs-rustdoc labels Mar 29, 2018
@ollie27
Copy link
Member

ollie27 commented Mar 29, 2018

Duplicate of #24183

@SimonSapin
Copy link
Contributor Author

Oops sorry.

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

2 participants