diff options
| author | Randati <anttivan@gmail.com> | 2014-07-25 18:12:21 +0300 |
|---|---|---|
| committer | Randati <anttivan@gmail.com> | 2014-07-25 18:12:21 +0300 |
| commit | c7700077a103303a7134dcbbac574ba9ac6b6038 (patch) | |
| tree | f9ffeaae4e8a97eb00f1d67eee4aed76fce035d6 | |
| parent | 44019c79e0c7bd08d6136cd609eef619c97f45eb (diff) | |
| download | rust-c7700077a103303a7134dcbbac574ba9ac6b6038.tar.gz rust-c7700077a103303a7134dcbbac574ba9ac6b6038.zip | |
Fix assert message
| -rw-r--r-- | src/libcore/fmt/num.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/fmt/num.rs b/src/libcore/fmt/num.rs index 81e84c447e7..a4fd5bb92e6 100644 --- a/src/libcore/fmt/num.rs +++ b/src/libcore/fmt/num.rs @@ -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 } } } |
