Skip to content

Commit 6879c8b

Browse files
committed
auto merge of #10225 : Jurily/rust/master, r=alexcrichton
2 parents 57627b1 + 0f66856 commit 6879c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ pub fn is_digit_radix(c: char, radix: uint) -> bool {
187187
#[inline]
188188
pub fn to_digit(c: char, radix: uint) -> Option<uint> {
189189
if radix > 36 {
190-
fail!("to_digit: radix {} is to high (maximum 36)", radix);
190+
fail!("to_digit: radix {} is too high (maximum 36)", radix);
191191
}
192192
let val = match c {
193193
'0' .. '9' => c as uint - ('0' as uint),

0 commit comments

Comments
 (0)