Skip to content

More string fixes #1714

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
wants to merge 7 commits into from
Closed

Conversation

killerswan
Copy link
Contributor

This checks various things off my TODO list, including:

  • Rename str::from_byte(s) to str::unsafe::from_byte(s), mark them as unsafe, make comp/driver/driver.rs use str::from_bytes...
  • Rename str::loop_chars to str::all, rename str::loop_chars_sub to str::substr_all, and propagate this change to std::rope and rustdoc's calls to these
  • Rename str::to_chars -> str::chars
  • Rename str::iter_chars -> str::chars_iter
  • Add str::split_chars_iter and str::splitn_chars_iter
  • Re-implement str::to_upper and str::to_lower using str::map

@brson
Copy link
Contributor

brson commented Jan 31, 2012

Merged.

@brson brson closed this Jan 31, 2012
@j3parker j3parker mentioned this pull request Mar 25, 2012
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.

2 participants