Skip to content

Commit

Permalink
core: Convert a 'failure' to 'panic' in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Nov 21, 2014
1 parent 879af89 commit 75ffadf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/char.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ pub trait Char {
/// Returns `true` if `c` is a valid digit under `radix`, and `false`
/// otherwise.
///
/// # Failure
/// # Panics
///
/// Fails if given a radix > 36.
/// Panics if given a radix > 36.
#[unstable = "pending error conventions"]
fn is_digit(self, radix: uint) -> bool;

Expand Down

5 comments on commit 75ffadf

@bors
Copy link
Contributor

@bors bors commented on 75ffadf Nov 21, 2014

Choose a reason for hiding this comment

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

saw approval from aturon
at brson@75ffadf

@bors
Copy link
Contributor

@bors bors commented on 75ffadf Nov 21, 2014

Choose a reason for hiding this comment

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

merging brson/rust/stdchar = 75ffadf into auto

@bors
Copy link
Contributor

@bors bors commented on 75ffadf Nov 21, 2014

Choose a reason for hiding this comment

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

brson/rust/stdchar = 75ffadf merged ok, testing candidate = 81eeec0

@bors
Copy link
Contributor

@bors bors commented on 75ffadf Nov 22, 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 75ffadf Nov 22, 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 = 81eeec0

Please sign in to comment.