Skip to content

Commit

Permalink
Update docstrings for UnicodeChar::is_digit => is_numeric rename
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Nov 26, 2014
1 parent 6faff24 commit 104b3ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libcore/char.rs
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

5 comments on commit 104b3ab

@bors
Copy link
Contributor

@bors bors commented on 104b3ab Nov 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from huonw
at SimonSapin@104b3ab

@bors
Copy link
Contributor

@bors bors commented on 104b3ab Nov 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging SimonSapin/rust/patch-9 = 104b3ab into auto

@bors
Copy link
Contributor

@bors bors commented on 104b3ab Nov 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SimonSapin/rust/patch-9 = 104b3ab merged ok, testing candidate = 82fc1aa

@bors
Copy link
Contributor

@bors bors commented on 104b3ab Nov 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 104b3ab Nov 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 82fc1aa

Please sign in to comment.