core: Convert a 'failure' to 'panic' in docs
This commit is contained in:
parent
879af89baf
commit
75ffadf8b6
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue