about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 26d28049a47..966481e7b32 100644
--- a/src/libcore/char.rs
+++ b/src/libcore/char.rs
@@ -238,7 +238,7 @@ impl fmt::Display for CharTryFromError {
 /// 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, hexadecimal, to give some common values. Arbitrary
-/// radicum are supported.
+/// radices are supported.
 ///
 /// `from_digit()` will return `None` if the input is not a digit in
 /// the given radix.
diff --git a/src/librustc_unicode/char.rs b/src/librustc_unicode/char.rs
index 702d7d8b4b2..94599216db6 100644
--- a/src/librustc_unicode/char.rs
+++ b/src/librustc_unicode/char.rs
@@ -138,7 +138,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, hexadecimal, to give some common values. Arbitrary
-    /// radicum are supported.
+    /// radices are supported.
     ///
     /// Compared to `is_numeric()`, this function only recognizes the characters
     /// `0-9`, `a-z` and `A-Z`.
@@ -190,7 +190,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, hexadecimal, to give some common values. Arbitrary
-    /// radicum are supported.
+    /// radices are supported.
     ///
     /// 'Digit' is defined to be only the following characters:
     ///