Skip to content

Commit c770007

Browse files
committed
Fix assert message
1 parent 44019c7 commit c770007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/fmt/num.rs

Lines changed: 1 addition & 1 deletion
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)