rollup merge of #18013 : stefanbucur/patch-1

This commit is contained in:
Alex Crichton 2014-10-13 15:10:28 -07:00
commit 2e2d681d88
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ pub fn to_digit(c: char, radix: uint) -> Option<uint> {
#[inline]
pub fn from_digit(num: uint, radix: uint) -> Option<char> {
if radix > 36 {
fail!("from_digit: radix is to high (maximum 36)");
fail!("from_digit: radix is too high (maximum 36)");
}
if num < radix {
unsafe {