diff options
| author | bors <bors@rust-lang.org> | 2014-10-14 04:02:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-10-14 04:02:48 +0000 |
| commit | a1e2eb0395941f5ca79cd59c8ab0a9f3133a2df0 (patch) | |
| tree | 2782a6efa84382e234077244930b2d78d54ce7ee /src/libcore | |
| parent | 1c3ddd297128a96f72be09bddf138e4e603a7aa1 (diff) | |
| parent | 2e2d681d88d99c4bb7033b852f98d6f979af5672 (diff) | |
| download | rust-a1e2eb0395941f5ca79cd59c8ab0a9f3133a2df0.tar.gz rust-a1e2eb0395941f5ca79cd59c8ab0a9f3133a2df0.zip | |
auto merge of #18017 : alexcrichton/rust/rollup, r=alexcrichton
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/char.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs index 8f3ecf0633c..f507556909c 100644 --- a/src/libcore/char.rs +++ b/src/libcore/char.rs @@ -147,7 +147,7 @@ pub fn to_digit(c: char, radix: uint) -> Option<uint> { #[inline] pub fn from_digit(num: uint, radix: uint) -> Option<char> { if radix > 36 { - fail!("from_digit: radix is to high (maximum 36)"); + fail!("from_digit: radix is too high (maximum 36)"); } if num < radix { unsafe { |
