Skip to content

Commit e7c8870

Browse files
committed
Merge pull request #19830 from mchaput/patch-1
Fix mispelling in char.rs error message Reviewed-by: luqmana
2 parents acd6fb0 + f053f29 commit e7c8870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/char.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ pub fn to_digit(c: char, radix: uint) -> Option<uint> {
141141
#[unstable = "pending decisions about costructors for primitives"]
142142
pub fn from_digit(num: uint, radix: uint) -> Option<char> {
143143
if radix > 36 {
144-
panic!("from_digit: radix is to high (maximum 36)");
144+
panic!("from_digit: radix is too high (maximum 36)");
145145
}
146146
if num < radix {
147147
unsafe {

0 commit comments

Comments
 (0)