]> git.lizzy.rs Git - rust.git/commitdiff
Fix the spelling of "hexadecimal"
authorMatt Kraai <kraai@ftbfs.org>
Tue, 5 Jan 2016 15:40:40 +0000 (07:40 -0800)
committerMatt Kraai <kraai@ftbfs.org>
Tue, 5 Jan 2016 15:40:40 +0000 (07:40 -0800)
src/libcore/char.rs
src/librustc_unicode/char.rs

index 43a1bf6e500c0236de98df585afaacc6c1269db0..0fc154a0cd59199c5200ee5eebfb4057264f821c 100644 (file)
@@ -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
index 455e2feee4c2f9ba82a7101fd9ff06ebab0a3b84..66f8068eae6571658645754015d5f8fd70bd9ce0 100644 (file)
@@ -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 @@ pub fn is_digit(self, radix: u32) -> bool {
     ///
     /// 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: