1
Fork 0

Merge UnicodeChar and CharExt.

This "reexports" all the functionality of `core::char::CharExt` as
methods on `unicode::u_char::UnicodeChar` (renamed to `CharExt`).

Imports may need to be updated (one now just imports
`unicode::CharExt`, or `std::char::CharExt` rather than two traits from
either), so this is a

[breaking-change]
This commit is contained in:
Huon Wilson 2014-12-30 13:58:31 +11:00
parent 19120209d8
commit 0302d37977
9 changed files with 116 additions and 19 deletions

View file

@ -16,6 +16,7 @@ use self::PathPrefix::*;
use ascii::AsciiExt;
use c_str::{CString, ToCStr};
use char::CharExt;
use clone::Clone;
use cmp::{PartialEq, Eq, PartialOrd, Ord, Ordering};
use hash;
@ -28,7 +29,6 @@ use option::Option::{Some, None};
use slice::{SliceExt, SliceConcatExt};
use str::{SplitTerminator, FromStr, StrExt};
use string::{String, ToString};
use unicode::char::UnicodeChar;
use vec::Vec;
use super::{contains_nul, BytesContainer, GenericPath, GenericPathUnsafe};