diff options
| author | Eric Findlay <e.findlay@protonmail.ch> | 2017-03-14 10:21:26 +0900 |
|---|---|---|
| committer | Eric Findlay <e.findlay@protonmail.ch> | 2017-03-14 10:21:26 +0900 |
| commit | 5b7f330588a09593bd48eef9be610338fb1dc199 (patch) | |
| tree | c2c45fd79186ce97cf8a71ff4c52e6f829758213 /src/libstd_unicode | |
| parent | 3087a1f39eaeac9d76c8b159dcc64de515bb2b83 (diff) | |
| download | rust-5b7f330588a09593bd48eef9be610338fb1dc199.tar.gz rust-5b7f330588a09593bd48eef9be610338fb1dc199.zip | |
Corrected very minor documentation detail about Unicode and Japanese
Diffstat (limited to 'src/libstd_unicode')
| -rw-r--r-- | src/libstd_unicode/char.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd_unicode/char.rs b/src/libstd_unicode/char.rs index 4269ce8534b..f5dfd9fa471 100644 --- a/src/libstd_unicode/char.rs +++ b/src/libstd_unicode/char.rs @@ -829,7 +829,7 @@ impl char { /// // Sometimes the result is more than one character: /// assert_eq!('İ'.to_lowercase().to_string(), "i\u{307}"); /// - /// // Japanese scripts do not have case, and so: + /// // Japanese kanji characters do not have case, and so: /// assert_eq!('山'.to_lowercase().to_string(), "山"); /// ``` #[stable(feature = "rust1", since = "1.0.0")] @@ -889,7 +889,7 @@ impl char { /// // Sometimes the result is more than one character: /// assert_eq!('ß'.to_uppercase().to_string(), "SS"); /// - /// // Japanese does not have case, and so: + /// // Japanese kanji characters do not have case, and so: /// assert_eq!('山'.to_uppercase().to_string(), "山"); /// ``` /// |
