Skip to content

Commit 8c93705

Browse files
committed
core: Convert a 'failure' to 'panic' in docs
1 parent 90c841a commit 8c93705

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/char.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ pub trait Char {
225225
/// Returns `true` if `c` is a valid digit under `radix`, and `false`
226226
/// otherwise.
227227
///
228-
/// # Failure
228+
/// # Panics
229229
///
230-
/// Fails if given a radix > 36.
230+
/// Panics if given a radix > 36.
231231
#[unstable = "pending error conventions"]
232232
fn is_digit(self, radix: uint) -> bool;
233233

0 commit comments

Comments
 (0)