File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -829,7 +829,8 @@ impl char {
829
829
/// // Sometimes the result is more than one character:
830
830
/// assert_eq!('İ'.to_lowercase().to_string(), "i\u{307}");
831
831
///
832
- /// // Japanese kanji characters do not have case, and so:
832
+ /// // Characters that do not have both uppercase and lowercase
833
+ /// // convert into themselves.
833
834
/// assert_eq!('山'.to_lowercase().to_string(), "山");
834
835
/// ```
835
836
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -889,7 +890,8 @@ impl char {
889
890
/// // Sometimes the result is more than one character:
890
891
/// assert_eq!('ß'.to_uppercase().to_string(), "SS");
891
892
///
892
- /// // Japanese kanji characters do not have case, and so:
893
+ /// // Characters that do not have both uppercase and lowercase
894
+ /// // convert into themselves.
893
895
/// assert_eq!('山'.to_uppercase().to_string(), "山");
894
896
/// ```
895
897
///
You can’t perform that action at this time.
0 commit comments