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.
This commit is contained in:
Matt Brubeck 2015-03-19 13:34:18 -07:00
parent 08dd30d9eb
commit 973b788f40

View File

@ -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>);