Skip to content

Commit 17f3f3e

Browse files
committed
Rollup merge of rust-lang#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.
2 parents 2ac03bc + 973b788 commit 17f3f3e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: src/libunicode/char.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,8 @@ impl CharExt for char {
462462
}
463463

464464
/// An iterator over the lowercase mapping of a given character, returned from
465-
/// the `lowercase` method on characters.
465+
/// the [`to_lowercase` method](../primitive.char.html#method.to_lowercase) on
466+
/// characters.
466467
#[stable(feature = "rust1", since = "1.0.0")]
467468
pub struct ToLowercase(Option<char>);
468469

@@ -473,7 +474,8 @@ impl Iterator for ToLowercase {
473474
}
474475

475476
/// An iterator over the uppercase mapping of a given character, returned from
476-
/// the `uppercase` method on characters.
477+
/// the [`to_uppercase` method](../primitive.char.html#method.to_uppercase) on
478+
/// characters.
477479
#[stable(feature = "rust1", since = "1.0.0")]
478480
pub struct ToUppercase(Option<char>);
479481

0 commit comments

Comments
 (0)