Skip to content

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

Closed
@Manishearth

Description

@Manishearth
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

Activity

added
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
on Jun 27, 2020
ollie27

ollie27 commented on Jun 27, 2020

@ollie27
Member

Duplicate of #24183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Manishearth@ollie27

        Issue actions

          Documentation for Iterator::step_by missing `where Self: ?Sized` bound · Issue #73786 · rust-lang/rust