Skip to content

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

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

Closed
EdorianDark opened this issue Apr 3, 2015 · 0 comments · Fixed by #24627
Closed

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

EdorianDark opened this issue Apr 3, 2015 · 0 comments · Fixed by #24627

Comments

@EdorianDark
Copy link
Contributor

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.

steveklabnik added a commit to steveklabnik/rust that referenced this issue Apr 20, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this issue Apr 20, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this issue Apr 21, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this issue Apr 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants