diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2015-11-16 19:54:28 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2015-11-18 01:24:21 +0300 |
| commit | 7e2ffc7090a70fe8c77a0e03fcec3cb1387141f2 (patch) | |
| tree | 63f67955eac7b8d88a7a771a958948500d4d9f15 /src/libcore/char.rs | |
| parent | 52acc05f6398d70e8cc506e19bb9fefbed7368ac (diff) | |
| download | rust-7e2ffc7090a70fe8c77a0e03fcec3cb1387141f2.tar.gz rust-7e2ffc7090a70fe8c77a0e03fcec3cb1387141f2.zip | |
Add missing annotations and some tests
Diffstat (limited to 'src/libcore/char.rs')
| -rw-r--r-- | src/libcore/char.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs index 21146f98360..525f9490b17 100644 --- a/src/libcore/char.rs +++ b/src/libcore/char.rs @@ -152,6 +152,9 @@ pub trait CharExt { fn encode_utf16(self, dst: &mut [u16]) -> Option<usize>; } +#[unstable(feature = "core_char_ext", + reason = "the stable interface is `impl char` in later crate", + issue = "27701")] impl CharExt for char { #[inline] fn is_digit(self, radix: u32) -> bool { |
