about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@ftbfs.org>2016-01-05 07:40:40 -0800
committerMatt Kraai <kraai@ftbfs.org>2016-01-05 07:40:40 -0800
commitcd4bf34659ca6b94749140b707755d068e837bdb (patch)
tree41af32bd660dcbf3baa11b4dc957fe1c73e3de44
parent5253294d222fe725fbbae1052d110f7eaa4ae10e (diff)
downloadrust-cd4bf34659ca6b94749140b707755d068e837bdb.tar.gz
rust-cd4bf34659ca6b94749140b707755d068e837bdb.zip
Fix the spelling of "hexadecimal"
-rw-r--r--src/libcore/char.rs2
-rw-r--r--src/librustc_unicode/char.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs
index 43a1bf6e500..0fc154a0cd5 100644
--- a/src/libcore/char.rs
+++ b/src/libcore/char.rs
@@ -181,7 +181,7 @@ pub unsafe fn from_u32_unchecked(i: u32) -> char {
 ///
 /// A 'radix' here is sometimes also called a 'base'. A radix of two
 /// indicates a binary number, a radix of ten, decimal, and a radix of
-/// sixteen, hexicdecimal, to give some common values. Arbitrary
+/// sixteen, hexadecimal, to give some common values. Arbitrary
 /// radicum are supported.
 ///
 /// `from_digit()` will return `None` if the input is not a digit in
diff --git a/src/librustc_unicode/char.rs b/src/librustc_unicode/char.rs
index 455e2feee4c..66f8068eae6 100644
--- a/src/librustc_unicode/char.rs
+++ b/src/librustc_unicode/char.rs
@@ -126,7 +126,7 @@ impl char {
     ///
     /// A 'radix' here is sometimes also called a 'base'. A radix of two
     /// indicates a binary number, a radix of ten, decimal, and a radix of
-    /// sixteen, hexicdecimal, to give some common values. Arbitrary
+    /// sixteen, hexadecimal, to give some common values. Arbitrary
     /// radicum are supported.
     ///
     /// Compared to `is_numeric()`, this function only recognizes the characters
@@ -185,7 +185,7 @@ impl char {
     ///
     /// A 'radix' here is sometimes also called a 'base'. A radix of two
     /// indicates a binary number, a radix of ten, decimal, and a radix of
-    /// sixteen, hexicdecimal, to give some common values. Arbitrary
+    /// sixteen, hexadecimal, to give some common values. Arbitrary
     /// radicum are supported.
     ///
     /// 'Digit' is defined to be only the following characters: