summary refs log tree commit diff
path: root/src/libstd_unicode/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-03-01 22:41:44 +0100
committerSimon Sapin <simon.sapin@exyr.org>2017-03-01 23:25:27 +0100
commit031f9b15df3df5da19b64a1f824463053898d021 (patch)
tree62bcfd9ce12acb49bfc4a0c24e7ee7ef2282932e /src/libstd_unicode/lib.rs
parent691eba1358fc3c9c7a8033314a4112d43680c128 (diff)
downloadrust-031f9b15df3df5da19b64a1f824463053898d021.tar.gz
rust-031f9b15df3df5da19b64a1f824463053898d021.zip
Only keep one copy of the UTF8_CHAR_WIDTH table.
… instead of one of each of libcore and libstd_unicode.

Move the `utf8_char_width` function to `core::str`
under the `str_internals` unstable feature.
Diffstat (limited to 'src/libstd_unicode/lib.rs')
-rw-r--r--src/libstd_unicode/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd_unicode/lib.rs b/src/libstd_unicode/lib.rs
index d52d1549b51..1adf00e40f1 100644
--- a/src/libstd_unicode/lib.rs
+++ b/src/libstd_unicode/lib.rs
@@ -47,7 +47,7 @@ pub mod char;
 #[allow(deprecated)]
 pub mod str {
     pub use u_str::{SplitWhitespace, UnicodeStr};
-    pub use u_str::{is_utf16, utf8_char_width};
+    pub use u_str::is_utf16;
     pub use u_str::Utf16Encoder;
 }