From 5583d81d833bdba8d6ffa9a4c9264f05f4085692 Mon Sep 17 00:00:00 2001 From: CrLF0710 Date: Wed, 1 Jun 2016 01:54:04 +0800 Subject: [PATCH] doc: Correct char::escape_unicode documentation. --- src/librustc_unicode/char.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_unicode/char.rs b/src/librustc_unicode/char.rs index 863cada5b88..5825327a2f1 100644 --- a/src/librustc_unicode/char.rs +++ b/src/librustc_unicode/char.rs @@ -232,8 +232,8 @@ impl char { /// Returns an iterator that yields the hexadecimal Unicode escape of a /// character, as `char`s. /// - /// All characters are escaped with Rust syntax of the form `\\u{NNNN}` - /// where `NNNN` is the shortest hexadecimal representation. + /// All characters are escaped with Rust syntax of the form `\u{NNNNNN}` + /// where `NNNNNN` is the shortest hexadecimal representation. /// /// # Examples ///