diff options
| author | Matt Brubeck <mbrubeck@limpet.net> | 2015-03-19 13:34:18 -0700 |
|---|---|---|
| committer | Matt Brubeck <mbrubeck@limpet.net> | 2015-03-19 13:34:18 -0700 |
| commit | 973b788f408ffc502f13ec4b9e9716b9cbd3f531 (patch) | |
| tree | 6f9d60f6d50c6ad1eac56f397e5c02af79ea2ee6 /src/libunicode | |
| parent | 08dd30d9eb685f29b82faae66b5fdb9fc4762a91 (diff) | |
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.
Diffstat (limited to 'src/libunicode')
| -rw-r--r-- | src/libunicode/char.rs | 6 |
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>); |
