From 973b788f408ffc502f13ec4b9e9716b9cbd3f531 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Thu, 19 Mar 2015 13:34:18 -0700 Subject: [PATCH] Update docs for ToUppercase/ToLowercase structs `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. --- src/libunicode/char.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libunicode/char.rs b/src/libunicode/char.rs index e24ade58a5224..5e1070c6dc503 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); @@ -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);