about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorIrfan Hudda <irfanhudda@gmail.com>2017-03-29 16:50:09 +0530
committerIrfan Hudda <irfanhudda@gmail.com>2017-03-29 16:50:09 +0530
commit3783c44eac713028969ac3cbdad6f30a3dbbbf97 (patch)
treeaf3d14d15e1b2e0d133ed94ae7fceb6732e2cb4e /src/libcore
parent4465f22ef6498db65059a41595d354a7af56cbea (diff)
downloadrust-3783c44eac713028969ac3cbdad6f30a3dbbbf97.tar.gz
rust-3783c44eac713028969ac3cbdad6f30a3dbbbf97.zip
Fix typo in libcore/char.rs
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/char.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs
index 19e69ca296d..b27c801cf89 100644
--- a/src/libcore/char.rs
+++ b/src/libcore/char.rs
@@ -187,7 +187,7 @@ impl From<char> for u32 {
 /// with the character encoding that IANA calls ISO-8859-1.
 /// This encoding is compatible with ASCII.
 ///
-/// Note that this is different from ISO/IEC 8859-1 a.k.a. ISO 8859-1 (with one less hypen),
+/// Note that this is different from ISO/IEC 8859-1 a.k.a. ISO 8859-1 (with one less hyphen),
 /// which leaves some "blanks", byte values that are not assigned to any character.
 /// ISO-8859-1 (the IANA one) assigns them to the C0 and C1 control codes.
 ///