]> git.lizzy.rs Git - rust.git/commitdiff
Update docstrings for UnicodeChar::is_digit => is_numeric rename
authorSimon Sapin <simon.sapin@exyr.org>
Wed, 26 Nov 2014 23:42:54 +0000 (23:42 +0000)
committerSimon Sapin <simon.sapin@exyr.org>
Wed, 26 Nov 2014 23:42:54 +0000 (23:42 +0000)
src/libcore/char.rs

index 272b36847991f8eb97b4d746c7673e554bab8870..a729596e9d29029b2593a77f1f2741db112810e1 100644 (file)
@@ -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