From dc0a7b6e22a91311d5718130bb5dfdba883ce12a Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sat, 11 Oct 2014 23:58:48 -0400 Subject: [PATCH] Link to Unicode SpecialCasing.txt document --- src/libunicode/u_char.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;