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

Documentation for Iterator::step_by missing where Self: ?Sized bound #73786

Closed
Manishearth opened this issue Jun 27, 2020 · 1 comment
Closed
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Manishearth
Copy link
Member

https://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.step_by

https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#391-396

The function has the following signature: fn step_by(self, step: usize) -> StepBy<Self> where Self: Sized, however the where bound does not show up in the stdlib docs.

I'm not sure what's going on here; I attempted to replicate the situation but a similarly defined trait method in a bare crate works just fine.

cc @GuillaumeGomez

@Manishearth Manishearth added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Jun 27, 2020
@ollie27
Copy link
Member

ollie27 commented Jun 27, 2020

Duplicate of #24183

@ollie27 ollie27 marked this as a duplicate of #24183 Jun 27, 2020
@ollie27 ollie27 closed this as completed Jun 27, 2020
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