From: Lzu Tao Date: Fri, 12 Apr 2019 05:18:36 +0000 (+0000) Subject: Re-export core::str::{EscapeDebug, EscapeDefault, EscapeUnicode} in std X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=2545867b4142fefbf980b976c9bc416d4e89bf85;p=rust.git Re-export core::str::{EscapeDebug, EscapeDefault, EscapeUnicode} in std --- 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::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",