From 75ffadf8b65495ababae49d8162f85c58cd2c2a9 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 5 Nov 2014 18:17:27 -0800 Subject: [PATCH] core: Convert a 'failure' to 'panic' in docs --- src/libcore/char.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/char.rs b/src/libcore/char.rs index 1fe840650dc9..272b36847991 100644 --- a/src/libcore/char.rs +++ b/src/libcore/char.rs @@ -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;