diff options
| author | bors <bors@rust-lang.org> | 2015-01-05 06:45:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-05 06:45:39 +0000 |
| commit | 1f732ef53d54ccfc3e7728390ffbcea8a696ecee (patch) | |
| tree | 29ced952bc9e6f49640ccc33974209afc805ff91 /src/libunicode/lib.rs | |
| parent | ed22606c8382822efc555f72f895c560289a5c70 (diff) | |
| parent | 990a79f097e8e74308bfec6d72dcdbb769a7973b (diff) | |
| download | rust-1f732ef53d54ccfc3e7728390ffbcea8a696ecee.tar.gz rust-1f732ef53d54ccfc3e7728390ffbcea8a696ecee.zip | |
auto merge of #20395 : huonw/rust/char-stab-2, r=aturon
cc #19260 The casing transformations are left unstable (it is highly likely to be better to adopt the proper non-1-to-1 case mappings, per #20333) as are `is_xid_*`. I've got a little todo list in the last commit of things I thought about/was told about that I haven't yet handled (I'd also like some feedback).
Diffstat (limited to 'src/libunicode/lib.rs')
| -rw-r--r-- | src/libunicode/lib.rs | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/libunicode/lib.rs b/src/libunicode/lib.rs index 72e9ce2bcaf..a3884d0c86e 100644 --- a/src/libunicode/lib.rs +++ b/src/libunicode/lib.rs @@ -44,9 +44,9 @@ mod u_str; // re-export char so that std et al see it correctly /// Character manipulation (`char` type, Unicode Scalar Value) /// -/// This module provides the `Char` and `UnicodeChar` traits, as well as their -/// implementation for the primitive `char` type, in order to allow basic character -/// manipulation. +/// This module provides the `CharExt` trait, as well as its +/// implementation for the primitive `char` type, in order to allow +/// basic character manipulation. /// /// A `char` actually represents a /// *[Unicode Scalar Value](http://www.unicode.org/glossary/#unicode_scalar_value)*, @@ -58,16 +58,14 @@ mod u_str; /// however the converse is not always true due to the above range limits /// and, as such, should be performed via the `from_u32` function.. pub mod char { - pub use core::char::{MAX, from_u32}; - pub use core::char::{from_digit}; - pub use core::char::Char; + pub use core::char::{MAX, from_u32, from_digit}; pub use normalize::{decompose_canonical, decompose_compatible, compose}; pub use tables::normalization::canonical_combining_class; pub use tables::UNICODE_VERSION; - pub use u_char::UnicodeChar; + pub use u_char::CharExt; } pub mod str { |
