diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-11-05 18:17:27 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-11-21 13:18:08 -0800 |
| commit | 75ffadf8b65495ababae49d8162f85c58cd2c2a9 (patch) | |
| tree | c1f42498ce4c886a066f9b9a8df5e1881ebbdf8f /src | |
| parent | 879af89baf65b9f94d676924e249958c86eb21b3 (diff) | |
| download | rust-75ffadf8b65495ababae49d8162f85c58cd2c2a9.tar.gz rust-75ffadf8b65495ababae49d8162f85c58cd2c2a9.zip | |
core: Convert a 'failure' to 'panic' in docs
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/char.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs index 1fe840650dc..272b3684799 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; |
