Skip to content

Commit 114593d

Browse files
committed
Make the prema-unstable char::escape_debug_ext method crate-private
1 parent 92cce78 commit 114593d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libcore/char/methods.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,8 @@ impl char {
189189
/// An extended version of `escape_debug` that optionally permits escaping
190190
/// Extended Grapheme codepoints. This allows us to format characters like
191191
/// nonspacing marks better when they're at the start of a string.
192-
#[doc(hidden)]
193-
#[unstable(feature = "str_internals", issue = "0")]
194192
#[inline]
195-
pub fn escape_debug_ext(self, escape_grapheme_extended: bool) -> EscapeDebug {
193+
pub(crate) fn escape_debug_ext(self, escape_grapheme_extended: bool) -> EscapeDebug {
196194
let init_state = match self {
197195
'\t' => EscapeDefaultState::Backslash('t'),
198196
'\r' => EscapeDefaultState::Backslash('r'),

0 commit comments

Comments
 (0)