summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2020-12-09 13:38:22 -0800
committerGitHub <noreply@github.com>2020-12-09 13:38:22 -0800
commit26e4cf0fc772e79f424ea03d0e4f861450b06169 (patch)
tree3ef8ba78c983cd006753ba3ff08bf42783239fac /library/alloc/src
parent2cca5e11e0d8295015ea7ab326c2afb88262ba3a (diff)
parent88da5682c364c9c89c2e7c54a4f2c94999cdc644 (diff)
downloadrust-26e4cf0fc772e79f424ea03d0e4f861450b06169.tar.gz
rust-26e4cf0fc772e79f424ea03d0e4f861450b06169.zip
Rollup merge of #79795 - matklad:unicode-private, r=cramertj
Privatize some of libcore unicode_internals

My understanding is that these API are perma unstable, so it doesn't
make sense to pollute docs & IDE completion[1] with them.

[1]: https://github.com/rust-analyzer/rust-analyzer/issues/6738
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/str.rs b/library/alloc/src/str.rs
index 339592728ac..578eca7d893 100644
--- a/library/alloc/src/str.rs
+++ b/library/alloc/src/str.rs
@@ -388,7 +388,7 @@ impl str {
         }
 
         fn case_ignoreable_then_cased<I: Iterator<Item = char>>(iter: I) -> bool {
-            use core::unicode::derived_property::{Case_Ignorable, Cased};
+            use core::unicode::{Case_Ignorable, Cased};
             match iter.skip_while(|&c| Case_Ignorable(c)).next() {
                 Some(c) => Cased(c),
                 None => false,