Skip to content

Commit a4327d9

Browse files
authored
Auto merge of #33987 - crlf0710:patch-1, r=steveklabnik
doc: Correct char::escape_unicode documentation. A quick fix for documentation.
2 parents 24d51f9 + 5583d81 commit a4327d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_unicode/char.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ impl char {
232232
/// Returns an iterator that yields the hexadecimal Unicode escape of a
233233
/// character, as `char`s.
234234
///
235-
/// All characters are escaped with Rust syntax of the form `\\u{NNNN}`
236-
/// where `NNNN` is the shortest hexadecimal representation.
235+
/// All characters are escaped with Rust syntax of the form `\u{NNNNNN}`
236+
/// where `NNNNNN` is the shortest hexadecimal representation.
237237
///
238238
/// # Examples
239239
///

0 commit comments

Comments
 (0)