Skip to content
Myr

Avoid long literal without separator

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by philipp · committed by David Peter · parent cfd298e · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/main.rs+1 added-1 removed
50 unmodified lines
51 let param_name = vals.next().unwrap();52 let param_min: i32 = vals.next().unwrap().parse()?;53 let param_max: i32 = vals.next().unwrap().parse()?;5455 const MAX_PARAMETERS: i32 = 100000;55 const MAX_PARAMETERS: i32 = 100_000;56 if param_max - param_min > MAX_PARAMETERS {57 return Err(ParameterScanError::TooLarge);58 }59
166 unmodified lines