about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-11-27 10:11:19 +0000
committerbors <bors@rust-lang.org>2014-11-27 10:11:19 +0000
commit82fc1aa8756bf47679e09a30c5968da9f84b89e5 (patch)
tree0c5fc4bb473503ef4a828e1e6e9a0009b6563fb3 /src/libcore
parent66601647cd8050fb9a63a56d1b6a8d836a0eab39 (diff)
parent104b3ab6a04547a593b16d7359fc79d616e3cc4e (diff)
downloadrust-82fc1aa8756bf47679e09a30c5968da9f84b89e5.tar.gz
rust-82fc1aa8756bf47679e09a30c5968da9f84b89e5.zip
auto merge of #19348 : SimonSapin/rust/patch-9, r=huonw
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/char.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs
index 272b3684799..a729596e9d2 100644
--- a/src/libcore/char.rs
+++ b/src/libcore/char.rs
@@ -81,7 +81,7 @@ pub fn from_u32(i: u32) -> Option<char> {
 ///
 /// Checks if a `char` parses as a numeric digit in the given radix
 ///
-/// Compared to `is_digit()`, this function only recognizes the
+/// Compared to `is_numeric()`, this function only recognizes the
 /// characters `0-9`, `a-z` and `A-Z`.
 ///
 /// # Return value
@@ -201,7 +201,7 @@ pub fn len_utf8_bytes(c: char) -> uint {
 pub trait Char {
     /// Checks if a `char` parses as a numeric digit in the given radix.
     ///
-    /// Compared to `is_digit()`, this function only recognizes the characters
+    /// Compared to `is_numeric()`, this function only recognizes the characters
     /// `0-9`, `a-z` and `A-Z`.
     ///
     /// # Return value
@@ -217,7 +217,7 @@ pub trait Char {
 
     /// Checks if a `char` parses as a numeric digit in the given radix.
     ///
-    /// Compared to `is_digit()`, this function only recognizes the characters
+    /// Compared to `is_numeric()`, this function only recognizes the characters
     /// `0-9`, `a-z` and `A-Z`.
     ///
     /// # Return value