Fix assert message
This commit is contained in:
parent
44019c79e0
commit
c7700077a1
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ pub struct Radix {
|
|||
|
||||
impl Radix {
|
||||
fn new(base: u8) -> Radix {
|
||||
assert!(2 <= base && base <= 36, "the base must be in the range of 0..36: {}", base);
|
||||
assert!(2 <= base && base <= 36, "the base must be in the range of 2..36: {}", base);
|
||||
Radix { base: base }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue