Skip to content
Myr

Avoid redundant return

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 5e4e383 · 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
59 unmodified lines
60 if param_max < param_min {61 return Err(ParameterScanError::EmptyRange);62 }6364 return Ok((param_name, param_min..(param_max + 1)));64 Ok((param_name, param_min..(param_max + 1)))65}6667fn main() {68 let matches = get_arg_matches(env::args_os());
157 unmodified lines