diff options
| author | mchaput <matt@whoosh.ca> | 2014-12-14 00:48:09 -0500 |
|---|---|---|
| committer | mchaput <matt@whoosh.ca> | 2014-12-14 00:48:09 -0500 |
| commit | f053f29ff5469ff955221d1ea8d6154ef276ce10 (patch) | |
| tree | 293ae0079859ec585ee79c92cb78dac9eae57bd0 /src/libcore | |
| parent | f07526a9990ab07983905fb5f383e62ae72242bc (diff) | |
Fix mispelling in char.rs error message
Error message has wrong spelling ("radix is to high").Diffstat (limited to 'src/libcore')
| -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 75f7991df02..07db32bcc2b 100644 --- a/src/libcore/char.rs +++ b/src/libcore/char.rs @@ -141,7 +141,7 @@ pub fn to_digit(c: char, radix: uint) -> Option<uint> { #[unstable = "pending decisions about costructors for primitives"] pub fn from_digit(num: uint, radix: uint) -> Option<char> { if radix > 36 { - panic!("from_digit: radix is to high (maximum 36)"); + panic!("from_digit: radix is too high (maximum 36)"); } if num < radix { unsafe { |
