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

[std::ascii] Add .to_ascii_opt() and .into_ascii_opt() that return Option #10828

Merged
merged 1 commit into from
Jan 2, 2014

Conversation

SimonSapin
Copy link
Contributor

… instead of failing.

Make them default methods on the trait, and also make .to_ascii() a default method while we’re at it.

@SimonSapin
Copy link
Contributor Author

Rebased and fixed the PR. I could get a proper build and run the tests locally, this time.

@alexcrichton
Copy link
Member

@SimonSapin, needs a rebase

… instead of failing.

Make them default methods on the trait, and also make .to_ascii()
a default method while we’re at it.

Conflicts:
	src/libstd/ascii.rs
@SimonSapin
Copy link
Contributor Author

@alexcrichton rebased.

bors added a commit that referenced this pull request Jan 2, 2014
… instead of failing.

Make them default methods on the trait, and also make .to_ascii() a default method while we’re at it.
@bors bors merged commit f8cc9a9 into rust-lang:master Jan 2, 2014
@SimonSapin SimonSapin deleted the ascii_opt branch January 3, 2014 09:42
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.

4 participants