From c7700077a103303a7134dcbbac574ba9ac6b6038 Mon Sep 17 00:00:00 2001 From: Randati Date: Fri, 25 Jul 2014 18:12:21 +0300 Subject: [PATCH] Fix assert message --- src/libcore/fmt/num.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/fmt/num.rs b/src/libcore/fmt/num.rs index 81e84c447e796..a4fd5bb92e697 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 } } }