diff options
| author | bors <bors@rust-lang.org> | 2013-11-01 23:36:10 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-11-01 23:36:10 -0700 |
| commit | 6879c8b38276d0a18271bf7e7582bd645c94ca2a (patch) | |
| tree | fed9b5ad5c13a82cf3afd838c94643ec0097a42b /src/libstd | |
| parent | 57627b1e2f7bd90f5c67a1ae21d76cb1e787b48e (diff) | |
| parent | 0f66856e53c9efbe89366278195706f714a0e073 (diff) | |
| download | rust-6879c8b38276d0a18271bf7e7582bd645c94ca2a.tar.gz rust-6879c8b38276d0a18271bf7e7582bd645c94ca2a.zip | |
auto merge of #10225 : Jurily/rust/master, r=alexcrichton
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/char.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/char.rs b/src/libstd/char.rs index 643498f000a..6530755cb1d 100644 --- a/src/libstd/char.rs +++ b/src/libstd/char.rs @@ -187,7 +187,7 @@ pub fn is_digit_radix(c: char, radix: uint) -> bool { #[inline] pub fn to_digit(c: char, radix: uint) -> Option<uint> { if radix > 36 { - fail!("to_digit: radix {} is to high (maximum 36)", radix); + fail!("to_digit: radix {} is too high (maximum 36)", radix); } let val = match c { '0' .. '9' => c as uint - ('0' as uint), |
