diff options
| author | Lzu Tao <taolzu@gmail.com> | 2019-04-12 05:18:36 +0000 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2019-04-12 05:18:36 +0000 |
| commit | 2545867b4142fefbf980b976c9bc416d4e89bf85 (patch) | |
| tree | 457ab146b3afd959dcb964e193bad2ef8f2fde75 /src/liballoc | |
| parent | 0369e6c539a3085179c066ab1f789eb89cb4aed5 (diff) | |
| download | rust-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.rs | 2 |
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", |
