about summary refs log tree commit diff
path: root/src/libunicode
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-09-02 01:35:58 -0400
committerJoseph Crail <jbcrail@gmail.com>2014-09-03 23:10:38 -0400
commitb7bfe04b2d003d08f6ac450f41d7f221cb87f129 (patch)
tree0bb355348f8f89601ad778d494f22e5f004912da /src/libunicode
parentd59d97cbec6807166bc237d6f3f9bd1eeb5288d7 (diff)
downloadrust-b7bfe04b2d003d08f6ac450f41d7f221cb87f129.tar.gz
rust-b7bfe04b2d003d08f6ac450f41d7f221cb87f129.zip
Fix spelling errors and capitalization.
Diffstat (limited to 'src/libunicode')
-rw-r--r--src/libunicode/u_char.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libunicode/u_char.rs b/src/libunicode/u_char.rs
index 91e7589b8ca..d8665143854 100644
--- a/src/libunicode/u_char.rs
+++ b/src/libunicode/u_char.rs
@@ -120,7 +120,7 @@ pub fn is_digit(c: char) -> bool {
 /// Convert a char to its uppercase equivalent
 ///
 /// The case-folding performed is the common or simple mapping:
-/// it maps one unicode codepoint (one char in Rust) to its uppercase equivalent according
+/// it maps one Unicode codepoint (one char in Rust) to its uppercase equivalent according
 /// to the Unicode database at ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt
 /// The additional SpecialCasing.txt is not considered here, as it expands to multiple
 /// codepoints in some cases.
@@ -233,7 +233,7 @@ pub trait UnicodeChar {
     /// Converts a character to its uppercase equivalent.
     ///
     /// The case-folding performed is the common or simple mapping: it maps
-    /// one unicode codepoint (one character in Rust) to its uppercase
+    /// one Unicode codepoint (one character in Rust) to its uppercase
     /// equivalent according to the Unicode database [1]. The additional
     /// `SpecialCasing.txt` is not considered here, as it expands to multiple
     /// codepoints in some cases.