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

FromStr::from_str method doc comment is inaccurate #25250

Closed
frewsxcv opened this issue May 9, 2015 · 0 comments · Fixed by #25290
Closed

FromStr::from_str method doc comment is inaccurate #25250

frewsxcv opened this issue May 9, 2015 · 0 comments · Fixed by #25290

Comments

@frewsxcv
Copy link
Member

frewsxcv commented May 9, 2015

http://doc.rust-lang.org/1.0.0-beta.4/std/str/trait.FromStr.html#tymethod.from_str

Parses a string s to return an optional value of this type. If the string is ill-formatted, the None is returned.

This description is probably leftover from when from_str returned an Option

bluss pushed a commit to bluss/rust that referenced this issue May 10, 2015
bluss pushed a commit to bluss/rust that referenced this issue May 11, 2015
Manishearth added a commit to Manishearth/rust that referenced this issue May 11, 2015
Several Minor API / Reference Documentation Fixes

- Fix a few small errors in the reference.
- Fix paper cuts in the API docs.

Fixes rust-lang#24882
Fixes rust-lang#25233
Fixes rust-lang#25250
Manishearth added a commit to Manishearth/rust that referenced this issue May 11, 2015
Several Minor API / Reference Documentation Fixes

- Fix a few small errors in the reference.
- Fix paper cuts in the API docs.

Fixes rust-lang#24882
Fixes rust-lang#25233
Fixes rust-lang#25250
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