From 031f9b15df3df5da19b64a1f824463053898d021 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Wed, 1 Mar 2017 22:41:44 +0100 Subject: Only keep one copy of the UTF8_CHAR_WIDTH table. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … 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. --- src/libstd/io/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd') diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 8cb7b2bda75..58788cdcd4c 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -256,7 +256,7 @@ #![stable(feature = "rust1", since = "1.0.0")] use cmp; -use std_unicode::str as core_str; +use core::str as core_str; use error as std_error; use fmt; use result; -- cgit 1.4.1-3-g733a5