automatic clippy fixes

This commit is contained in:
Folkert 2021-01-01 00:05:45 +01:00
parent ef0fb55c32
commit 728298d15a
23 changed files with 54 additions and 55 deletions

View file

@ -169,7 +169,7 @@ fn from_str_radix<T: FromStrRadixHelper>(src: &str, radix: u32) -> Result<T, Par
use self::ParseIntError as PIE;
assert!(
radix >= 2 && radix <= 36,
(2..=36).contains(&radix),
"from_str_radix_int: must lie in the range `[2, 36]` - found {}",
radix
);