about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-20 05:31:24 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-20 12:43:14 +0530
commit17f3f3e3e6734690db06a73c76edb923593dec85 (patch)
treeac4dd369e4d7aa00e2abb099017535d7f8b4584f
parent2ac03bceb41fb84ff689d07603471e0ce17da44f (diff)
parent973b788f408ffc502f13ec4b9e9716b9cbd3f531 (diff)
downloadrust-17f3f3e3e6734690db06a73c76edb923593dec85.tar.gz
rust-17f3f3e3e6734690db06a73c76edb923593dec85.zip
Rollup merge of #23526 - mbrubeck:uppercase, r=steveklabnik
 `uppercase` and `lowercase` are currently named `to_uppercase` and `to_lowercase`. Also adds a link to the `char` type documentation which has much more detail on these iterators.
-rw-r--r--src/libunicode/char.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libunicode/char.rs b/src/libunicode/char.rs
index e24ade58a52..5e1070c6dc5 100644
--- a/src/libunicode/char.rs
+++ b/src/libunicode/char.rs
@@ -462,7 +462,8 @@ impl CharExt for char {
 }
 
 /// An iterator over the lowercase mapping of a given character, returned from
-/// the `lowercase` method on characters.
+/// the [`to_lowercase` method](../primitive.char.html#method.to_lowercase) on
+/// characters.
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct ToLowercase(Option<char>);
 
@@ -473,7 +474,8 @@ impl Iterator for ToLowercase {
 }
 
 /// An iterator over the uppercase mapping of a given character, returned from
-/// the `uppercase` method on characters.
+/// the [`to_uppercase` method](../primitive.char.html#method.to_uppercase) on
+/// characters.
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct ToUppercase(Option<char>);