diff --git a/Cargo.toml b/Cargo.toml index c9969b4d9..5f6be7f6a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "count-digits" -version = "0.2.2" +version = "0.2.3" authors = ["Erik Nordin "] description = "A no-std trait to count the digits of integer types in various number bases." homepage = "https://github.com/nordzilla/count-digits" diff --git a/README.md b/README.md index ecaf258cb..9134df911 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,8 @@ of the number's negated value. ```rust assert_eq!( - 0xF00D_i32.count_digits(), - 0xF00D_i32.wrapping_neg().count_digits(), + 867_5309_i32.count_digits(), + 867_5309_i32.wrapping_neg().count_digits(), ); ```` diff --git a/src/lib.rs b/src/lib.rs index 49a29050b..5a373ba26 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,8 +58,8 @@ //! ```rust //! # use count_digits::CountDigits; //! assert_eq!( -//! 0xF00D_i32.count_digits(), -//! 0xF00D_i32.wrapping_neg().count_digits(), +//! 867_5309_i32.count_digits(), +//! 867_5309_i32.wrapping_neg().count_digits(), //! ); //! ```` //!