Skip to content

Commit 2e2d681

Browse files
committed
rollup merge of rust-lang#18013 : stefanbucur/patch-1
2 parents 724bbab + 39749a3 commit 2e2d681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ pub fn to_digit(c: char, radix: uint) -> Option<uint> {
147147
#[inline]
148148
pub fn from_digit(num: uint, radix: uint) -> Option<char> {
149149
if radix > 36 {
150-
fail!("from_digit: radix is to high (maximum 36)");
150+
fail!("from_digit: radix is too high (maximum 36)");
151151
}
152152
if num < radix {
153153
unsafe {

0 commit comments

Comments
 (0)