Skip to content

Commit a204387

Browse files
authored
Rollup merge of rust-lang#59908 - lzutao:str_escape, r=SimonSapin
Re-export core::str::{EscapeDebug, EscapeDefault, EscapeUnicode} in std cc rust-lang#59893
2 parents 3c3d3c1 + 2545867 commit a204387

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/liballoc/str.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ pub use core::str::pattern;
6868
pub use core::str::EncodeUtf16;
6969
#[stable(feature = "split_ascii_whitespace", since = "1.34.0")]
7070
pub use core::str::SplitAsciiWhitespace;
71+
#[stable(feature = "str_escape", since = "1.34.0")]
72+
pub use core::str::{EscapeDebug, EscapeDefault, EscapeUnicode};
7173

7274
#[unstable(feature = "slice_concat_ext",
7375
reason = "trait should not have to exist",

0 commit comments

Comments
 (0)