Skip to content

str: fix comments for FromStr for bool #22989

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

Merged
merged 1 commit into from
Mar 3, 2015

Conversation

laijs
Copy link

@laijs laijs commented Mar 3, 2015

Fix the return type in the comments.

An old commit 082bfde ("Fallout of std::str stabilization") removed
the example of FromStr::from_str(), this commit adds it back. But
the example of StrExt::parse() is still kept with an additinal note.

Signed-off-by: Lai Jiangshan [email protected]

Fix the return type in the comments.

An old commit 082bfde ("Fallout of std::str stabilization") removed
the example of FromStr::from_str(), this commit adds it back. But
the example of StrExt::parse() is still kept with an additinal note.

Signed-off-by: Lai Jiangshan <[email protected]>
@rust-highfive
Copy link
Contributor

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@laijs
Copy link
Author

laijs commented Mar 3, 2015

When I update the patch, it cause the #22959 closed? why? how to update a commit in Github?

@laijs
Copy link
Author

laijs commented Mar 3, 2015

@alexcrichton: I changed the comments as your requirement(#22959), and passed the test:
make check-stage2-doc-crate-core

@alexcrichton
Copy link
Member

@bors: r+ bc98e9f

When I update the patch, it cause the #22959 closed? why? how to update a commit in Github?

You may have deleted the branch for #22959 which auto-closes the PR. You can update a PR by force-pushing the branch with some new commits. Don't sweat it though!

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 3, 2015
…lexcrichton

 Fix the return type in the comments.

An old commit 082bfde (\"Fallout of std::str stabilization\") removed
the example of FromStr::from_str(), this commit adds it back. But
the example of StrExt::parse() is still kept with an additinal note.

Signed-off-by: Lai Jiangshan <[email protected]>
@bors bors merged commit bc98e9f into rust-lang:master Mar 3, 2015
@laijs laijs deleted the fix_FromStr_bool_comment branch March 4, 2015 01:07
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 this pull request may close these issues.

5 participants