Skip to content

Doc for helper itarators of core::str inconsitent #24008

Closed
@EdorianDark

Description

@EdorianDark

The documentation for RSplit (http://doc.rust-lang.org/core/str/struct.RSplit.html) is just

Return type of str::rsplit

The documentation for Lines (http://doc.rust-lang.org/core/str/struct.Lines.html) is

An iterator over the lines of a string, separated by \n.

The of Chars (http://doc.rust-lang.org/core/str/struct.Chars.html) is

Iterator for the char (representing Unicode Scalar Values) of a string
Created with the method .chars().

I think it would be nice if the iterators were describet more simmilar.
I like the dokumentation for Chars the best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions