diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-17 08:34:07 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-17 11:50:25 -0800 |
| commit | 823cd7a8d54166dab4c93ab9181071be8f45323e (patch) | |
| tree | 3e825e03e2178f70fb7b4257308e5a8f2abe8451 /src/libcore | |
| parent | f9ff55e4d042c33fc8332c35c080f48b4458efc7 (diff) | |
| parent | f053f29ff5469ff955221d1ea8d6154ef276ce10 (diff) | |
rollup merge of #19830: mchaput/patch-1
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 fbc444c2be3..729903a8533 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 { |
