diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2017-03-01 22:41:44 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2017-03-01 23:25:27 +0100 |
| commit | 031f9b15df3df5da19b64a1f824463053898d021 (patch) | |
| tree | 62bcfd9ce12acb49bfc4a0c24e7ee7ef2282932e /src/libstd | |
| parent | 691eba1358fc3c9c7a8033314a4112d43680c128 (diff) | |
| download | rust-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')
| -rw-r--r-- | src/libstd/io/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
