Skip to content

Commit 5b7f330

Browse files
author
Eric Findlay
committed
Corrected very minor documentation detail about Unicode and Japanese
1 parent 3087a1f commit 5b7f330

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd_unicode/char.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ impl char {
829829
/// // Sometimes the result is more than one character:
830830
/// assert_eq!('İ'.to_lowercase().to_string(), "i\u{307}");
831831
///
832-
/// // Japanese scripts do not have case, and so:
832+
/// // Japanese kanji characters do not have case, and so:
833833
/// assert_eq!('山'.to_lowercase().to_string(), "山");
834834
/// ```
835835
#[stable(feature = "rust1", since = "1.0.0")]
@@ -889,7 +889,7 @@ impl char {
889889
/// // Sometimes the result is more than one character:
890890
/// assert_eq!('ß'.to_uppercase().to_string(), "SS");
891891
///
892-
/// // Japanese does not have case, and so:
892+
/// // Japanese kanji characters do not have case, and so:
893893
/// assert_eq!('山'.to_uppercase().to_string(), "山");
894894
/// ```
895895
///

0 commit comments

Comments
 (0)