We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 813d828 + f053f29 commit 2ad1e0fCopy full SHA for 2ad1e0f
src/libcore/char.rs
@@ -141,7 +141,7 @@ pub fn to_digit(c: char, radix: uint) -> Option<uint> {
141
#[unstable = "pending decisions about costructors for primitives"]
142
pub fn from_digit(num: uint, radix: uint) -> Option<char> {
143
if radix > 36 {
144
- panic!("from_digit: radix is to high (maximum 36)");
+ panic!("from_digit: radix is too high (maximum 36)");
145
}
146
if num < radix {
147
unsafe {
0 commit comments