diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-18 00:23:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-18 00:23:36 +0200 |
| commit | a20438773b0bb67a2ce2543eb91b0ce7cbcdef0f (patch) | |
| tree | 9457ac33638acacd2f02b60b30c1cac0292b2ed3 /src/liballoc | |
| parent | 3c3d3c1777041200bb7ed7a65b6562d62899778c (diff) | |
| parent | 2545867b4142fefbf980b976c9bc416d4e89bf85 (diff) | |
| download | rust-a20438773b0bb67a2ce2543eb91b0ce7cbcdef0f.tar.gz rust-a20438773b0bb67a2ce2543eb91b0ce7cbcdef0f.zip | |
Rollup merge of #59908 - lzutao:str_escape, r=SimonSapin
Re-export core::str::{EscapeDebug, EscapeDefault, EscapeUnicode} in std
cc #59893
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", |
