about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2014-10-11 23:58:48 -0400
committerCorey Farwell <coreyf@rwell.org>2014-10-11 23:58:48 -0400
commitdc0a7b6e22a91311d5718130bb5dfdba883ce12a (patch)
treece84942662adc56f3353cc5cd33148309a0c97ee
parentadb44f53d8cd0170930a324d514bd75fbd9a0271 (diff)
downloadrust-dc0a7b6e22a91311d5718130bb5dfdba883ce12a.tar.gz
rust-dc0a7b6e22a91311d5718130bb5dfdba883ce12a.zip
Link to Unicode SpecialCasing.txt document
-rw-r--r--src/libunicode/u_char.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libunicode/u_char.rs b/src/libunicode/u_char.rs
index f725cdba64e..bac8b21ea68 100644
--- a/src/libunicode/u_char.rs
+++ b/src/libunicode/u_char.rs
@@ -235,7 +235,7 @@ pub trait UnicodeChar {
     /// The case-folding performed is the common or simple mapping: it maps
     /// 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
+    /// [`SpecialCasing.txt`] is not considered here, as it expands to multiple
     /// codepoints in some cases.
     ///
     /// A full reference can be found here [2].
@@ -247,6 +247,8 @@ pub trait UnicodeChar {
     ///
     /// [1]: ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt
     ///
+    /// [`SpecialCasing`.txt`]: ftp://ftp.unicode.org/Public/UNIDATA/SpecialCasing.txt
+    ///
     /// [2]: http://www.unicode.org/versions/Unicode4.0.0/ch03.pdf#G33992
     fn to_uppercase(&self) -> char;