Skip to content

Commit 53b7095

Browse files
committed
char::to_uppercase doc typo: s/lowercase/uppercase/
1 parent 49c67bd commit 53b7095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd_unicode/char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ impl char {
846846
/// will be returned back by the iterator.
847847
///
848848
/// This performs complex unconditional mappings with no tailoring: it maps
849-
/// one Unicode character to its lowercase equivalent according to the
849+
/// one Unicode character to its uppercase equivalent according to the
850850
/// [Unicode database] and the additional complex mappings
851851
/// [`SpecialCasing.txt`]. Conditional mappings (based on context or
852852
/// language) are not considered here.

0 commit comments

Comments
 (0)