diff options
| author | kennytm <kennytm@gmail.com> | 2017-11-29 18:37:44 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-29 18:37:44 +0800 |
| commit | 963ab91dd40a57c061229f006dcf8ce271d89664 (patch) | |
| tree | 40c0aaa5494f132492f7fb1fdc94cec54723f612 /src/libstd/sync | |
| parent | 0ec3aee569a8a34117d265e48eb980a955a2186d (diff) | |
| parent | c5aad96739228e8e05b597b32ee7126c843b7228 (diff) | |
| download | rust-963ab91dd40a57c061229f006dcf8ce271d89664.tar.gz rust-963ab91dd40a57c061229f006dcf8ce271d89664.zip | |
Rollup merge of #46077 - LukasKalbertodt:stabilize-ascii-ctype, r=alexcrichton
Stabilize some `ascii_ctype` methods As discussed in #39658, this PR stabilizes those methods for `u8` and `char`. All inherent `ascii_ctype` for `[u8]` and `str` are removed as we prefer the more explicit version `s.chars().all(|c| c.is_ascii_())`. This PR doesn't modify the `AsciiExt` trait. There, the `ascii_ctype` methods are still unstable. It is planned to remove those in the future (I think). I had to modify some code in `ascii.rs` to properly implement `AsciiExt` for all types. Fixes #39658.
Diffstat (limited to 'src/libstd/sync')
0 files changed, 0 insertions, 0 deletions
