diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-03-23 14:41:02 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-03-23 16:25:10 -0700 |
| commit | 372673b58c09355c6ca963a05e2cbc142b832eac (patch) | |
| tree | 87a049772e1586af333c49c1bf9e19ccfabc03c1 /src/rt/rust_kernel.cpp | |
| parent | cab4f1685b6dde0503570e351f893a75d2efd8e1 (diff) | |
| download | rust-372673b58c09355c6ca963a05e2cbc142b832eac.tar.gz rust-372673b58c09355c6ca963a05e2cbc142b832eac.zip | |
Remove char::to_lower, char::to_upper, use libc versions instead
As per Graydon's comments on #1985: remove char::to_lower and char::to_upper. The str versions of these functions now call libc::tolower and libc::toupper (using wrappers that cast between char and c_char). Not sure how much better that is, but it at least makes it clearer that these functions are Unicode-unsafe.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
