mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
automatic clippy fixes
This commit is contained in:
parent
ef0fb55c32
commit
728298d15a
23 changed files with 54 additions and 55 deletions
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue