Skip to content

Commit 8df6cd3

Browse files
authored
Rollup merge of rust-lang#40897 - irfanhudda:fix-typo-char, r=BurntSushi
Fix typo in libcore/char.rs
2 parents baab5d8 + 3783c44 commit 8df6cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/char.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ impl From<char> for u32 {
187187
/// with the character encoding that IANA calls ISO-8859-1.
188188
/// This encoding is compatible with ASCII.
189189
///
190-
/// Note that this is different from ISO/IEC 8859-1 a.k.a. ISO 8859-1 (with one less hypen),
190+
/// Note that this is different from ISO/IEC 8859-1 a.k.a. ISO 8859-1 (with one less hyphen),
191191
/// which leaves some "blanks", byte values that are not assigned to any character.
192192
/// ISO-8859-1 (the IANA one) assigns them to the C0 and C1 control codes.
193193
///

0 commit comments

Comments
 (0)