From f053f29ff5469ff955221d1ea8d6154ef276ce10 Mon Sep 17 00:00:00 2001 From: mchaput Date: Sun, 14 Dec 2014 00:48:09 -0500 Subject: [PATCH] Fix mispelling in char.rs error message Error message has wrong spelling ("radix is to high"). --- src/libcore/char.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { #[unstable = "pending decisions about costructors for primitives"] pub fn from_digit(num: uint, radix: uint) -> Option { 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 {