rust/src/libstd_unicode
Simon Sapin 24b39c51af Remove std_unicode::str::is_utf16
It was only accessible through the `#[unstable]` crate std_unicode.

It has never been used in the compiler or standard library
since 47e7a05a28 added it in 2012
“for OS API interop”.
It can be replaced with a one-liner:

```rust
fn is_utf16(slice: &[u16]) -> bool {
    std::char::decode_utf16(s.iter().cloned()).all(|r| r.is_ok())
}
```
2017-03-02 17:45:50 +01:00
..
Cargo.toml Rename 'librustc_unicode' crate to 'libstd_unicode'. 2016-11-30 01:24:01 -05:00
char.rs Fix a few impl stability attributes 2017-01-29 13:31:47 +00:00
lib.rs Remove std_unicode::str::is_utf16 2017-03-02 17:45:50 +01:00
tables.rs Reduce the size of static data in std_unicode::tables. 2017-01-03 08:28:58 +01:00
u_str.rs Remove std_unicode::str::is_utf16 2017-03-02 17:45:50 +01:00