Skip to content

Commit 82fc1aa

Browse files
committed
auto merge of #19348 : SimonSapin/rust/patch-9, r=huonw
2 parents 6660164 + 104b3ab commit 82fc1aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcore/char.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pub fn from_u32(i: u32) -> Option<char> {
8181
///
8282
/// Checks if a `char` parses as a numeric digit in the given radix
8383
///
84-
/// Compared to `is_digit()`, this function only recognizes the
84+
/// Compared to `is_numeric()`, this function only recognizes the
8585
/// characters `0-9`, `a-z` and `A-Z`.
8686
///
8787
/// # Return value
@@ -201,7 +201,7 @@ pub fn len_utf8_bytes(c: char) -> uint {
201201
pub trait Char {
202202
/// Checks if a `char` parses as a numeric digit in the given radix.
203203
///
204-
/// Compared to `is_digit()`, this function only recognizes the characters
204+
/// Compared to `is_numeric()`, this function only recognizes the characters
205205
/// `0-9`, `a-z` and `A-Z`.
206206
///
207207
/// # Return value
@@ -217,7 +217,7 @@ pub trait Char {
217217

218218
/// Checks if a `char` parses as a numeric digit in the given radix.
219219
///
220-
/// Compared to `is_digit()`, this function only recognizes the characters
220+
/// Compared to `is_numeric()`, this function only recognizes the characters
221221
/// `0-9`, `a-z` and `A-Z`.
222222
///
223223
/// # Return value

0 commit comments

Comments
 (0)