diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-10-13 15:10:28 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-10-13 15:10:28 -0700 |
| commit | 2e2d681d88d99c4bb7033b852f98d6f979af5672 (patch) | |
| tree | f1aa29a33ea7c30365e85c23e1ef19eece19db71 | |
| parent | 724bbab5774698f73bad7a8ee38fe4b07f3d5848 (diff) | |
| parent | 39749a3adc9ad9991fbfe90c667e287433cd1187 (diff) | |
| download | rust-2e2d681d88d99c4bb7033b852f98d6f979af5672.tar.gz rust-2e2d681d88d99c4bb7033b852f98d6f979af5672.zip | |
rollup merge of #18013 : stefanbucur/patch-1
| -rw-r--r-- | src/libcore/char.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs index 8f3ecf0633c..f507556909c 100644 --- a/src/libcore/char.rs +++ b/src/libcore/char.rs @@ -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 { |
