From cf432b8f8f0d8822e654c1a40bf632f12fc97fbc Mon Sep 17 00:00:00 2001 From: kwantam Date: Fri, 11 Jul 2014 17:23:45 -0400 Subject: add Graphemes iterator; tidy unicode exports - Graphemes and GraphemeIndices structs implement iterators over grapheme clusters analogous to the Chars and CharOffsets for chars in a string. Iterator and DoubleEndedIterator are available for both. - tidied up the exports for libunicode. crate root exports are now moved into more appropriate module locations: - UnicodeStrSlice, Words, Graphemes, GraphemeIndices are in str module - UnicodeChar exported from char instead of crate root - canonical_combining_class is exported from str rather than crate root Since libunicode's exports have changed, programs that previously relied on the old export locations will need to change their `use` statements to reflect the new ones. See above for more information on where the new exports live. closes #7043 [breaking-change] --- src/libstd/rt/backtrace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/rt') diff --git a/src/libstd/rt/backtrace.rs b/src/libstd/rt/backtrace.rs index 09922b5ad76..1594e3ba0a2 100644 --- a/src/libstd/rt/backtrace.rs +++ b/src/libstd/rt/backtrace.rs @@ -21,7 +21,7 @@ use os; use result::{Ok, Err}; use str::StrSlice; use sync::atomics; -use unicode::UnicodeChar; +use unicode::char::UnicodeChar; pub use self::imp::write; -- cgit 1.4.1-3-g733a5