about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2019-04-12 05:18:36 +0000
committerLzu Tao <taolzu@gmail.com>2019-04-12 05:18:36 +0000
commit2545867b4142fefbf980b976c9bc416d4e89bf85 (patch)
tree457ab146b3afd959dcb964e193bad2ef8f2fde75 /src/liballoc
parent0369e6c539a3085179c066ab1f789eb89cb4aed5 (diff)
downloadrust-2545867b4142fefbf980b976c9bc416d4e89bf85.tar.gz
rust-2545867b4142fefbf980b976c9bc416d4e89bf85.zip
Re-export core::str::{EscapeDebug, EscapeDefault, EscapeUnicode} in std
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/str.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/str.rs b/src/liballoc/str.rs
index a36804bddff..f10a01d44c8 100644
--- a/src/liballoc/str.rs
+++ b/src/liballoc/str.rs
@@ -68,6 +68,8 @@ pub use core::str::pattern;
 pub use core::str::EncodeUtf16;
 #[stable(feature = "split_ascii_whitespace", since = "1.34.0")]
 pub use core::str::SplitAsciiWhitespace;
+#[stable(feature = "str_escape", since = "1.34.0")]
+pub use core::str::{EscapeDebug, EscapeDefault, EscapeUnicode};
 
 #[unstable(feature = "slice_concat_ext",
            reason = "trait should not have to exist",