mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Avoid long literal without separator
This commit is contained in:
1 parent
cfd298ef14
commit
5849446315
1 file changed
+1
-1
+1
-1
@@ -52,7 +52,7 @@ fn parse_parameter_scan_args<'a>(
|
||||
let param_min: i32 = vals.next().unwrap().parse()?;
|
||||
let param_max: i32 = vals.next().unwrap().parse()?;
|
||||
|
||||
const MAX_PARAMETERS: i32 = 100000;
|
||||
const MAX_PARAMETERS: i32 = 100_000;
|
||||
if param_max - param_min > MAX_PARAMETERS {
|
||||
return Err(ParameterScanError::TooLarge);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user