Skip to content

Commit 66a0b52

Browse files
committed
auto merge of #15979 : Randati/rust/patch-2, r=kballard
2 parents 74db699 + c770007 commit 66a0b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/fmt/num.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ pub struct Radix {
119119

120120
impl Radix {
121121
fn new(base: u8) -> Radix {
122-
assert!(2 <= base && base <= 36, "the base must be in the range of 0..36: {}", base);
122+
assert!(2 <= base && base <= 36, "the base must be in the range of 2..36: {}", base);
123123
Radix { base: base }
124124
}
125125
}

0 commit comments

Comments
 (0)