]> git.lizzy.rs Git - rust.git/commit
auto merge of #14401 : aochagavia/rust/pr4, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 24 May 2014 21:26:23 +0000 (14:26 -0700)
committerbors <bors@rust-lang.org>
Sat, 24 May 2014 21:26:23 +0000 (14:26 -0700)
commit6304a27b80f3923a8ffc009418c302aa8b06fb93
tree09343194b975dd2cbcd447201ddb1ad8c4fe92bb
parent43f942f88656f6b6cb2ff143e496a8875ea157ac
parente9989586724472f32c6ae040da4c1a1f0867bef0
auto merge of #14401 : aochagavia/rust/pr4, r=alexcrichton

Some functions implemented for the Ascii struct have the same functionality as other functions implemented for the normal chars. For consistency, I think they should have the same name, so I renamed the functions in Ascii to match the names in the Char trait.

* Renamed `to_lower` to `to_lowercase`
* Renamed `to_upper` to `to_uppercase`
* Renamed `is_alpha` to `is_alphabetic`
* Renamed `is_alnum` to `is_alphanumeric`
* Renamed `is_lower` to `is_lowercase`
* Renamed `is_upper` to `is_uppercase`

[breaking-change]