File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ pub fn from_u32(i: u32) -> Option<char> {
81
81
///
82
82
/// Checks if a `char` parses as a numeric digit in the given radix
83
83
///
84
- /// Compared to `is_digit ()`, this function only recognizes the
84
+ /// Compared to `is_numeric ()`, this function only recognizes the
85
85
/// characters `0-9`, `a-z` and `A-Z`.
86
86
///
87
87
/// # Return value
@@ -201,7 +201,7 @@ pub fn len_utf8_bytes(c: char) -> uint {
201
201
pub trait Char {
202
202
/// Checks if a `char` parses as a numeric digit in the given radix.
203
203
///
204
- /// Compared to `is_digit ()`, this function only recognizes the characters
204
+ /// Compared to `is_numeric ()`, this function only recognizes the characters
205
205
/// `0-9`, `a-z` and `A-Z`.
206
206
///
207
207
/// # Return value
@@ -217,7 +217,7 @@ pub trait Char {
217
217
218
218
/// Checks if a `char` parses as a numeric digit in the given radix.
219
219
///
220
- /// Compared to `is_digit ()`, this function only recognizes the characters
220
+ /// Compared to `is_numeric ()`, this function only recognizes the characters
221
221
/// `0-9`, `a-z` and `A-Z`.
222
222
///
223
223
/// # Return value
You can’t perform that action at this time.
0 commit comments