Skip to content

docs show different method definitions for core and std #17693

@lucidd

Description

@lucidd

I noticed that the docs on Iterator differ depending on if you look a core::iter::Iterator or std::iter::Iterator. In the std version the declaration of the lifetime 'r in the methods is missing.
Im not sure if this is a bug or intended but its confusing if you look at the std version and wonder where lifetime 'r comes from.

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

    Issue actions