Skip to content

Conversation

@SimonSapin
Copy link
Contributor

I added it because it was easy (same a char::to_lowercase, just a different table), but it doesn’t make sense to have this in std but not str::to_titlecase, which would require https://github.com/unicode-rs/unicode-segmentation

At some point in the future this feature will be available (both on char and str) in a crates.io crate.

I added it because it was easy (same a `char::to_lowercase`,
just a different table), but it doesn’t make sense to have this
in std but not str::to_titlecase, which would require
https://github.com/unicode-rs/unicode-segmentation

At some point in the future this feature will be available
(both on char and str) in a crates.io crate.
@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@alexcrichton
Copy link
Member

@bors: r+ 32b7b50

Approving as this hasn't been in-tree for too too long so I don't think anyone's depending on it much yet. We can always revert and go through a normal deprecation process if necessary, however!

@bors
Copy link
Collaborator

bors commented Jun 25, 2015

⌛ Testing commit 32b7b50 with merge 688b623...

bors added a commit that referenced this pull request Jun 25, 2015
I added it because it was easy (same a `char::to_lowercase`, just a different table), but it doesn’t make sense to have this in std but not str::to_titlecase, which would require https://github.com/unicode-rs/unicode-segmentation

At some point in the future this feature will be available (both on char and str) in a crates.io crate.
@bors bors merged commit 32b7b50 into rust-lang:master Jun 25, 2015
@SimonSapin SimonSapin deleted the remove-titlecase branch July 18, 2015 19:01
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