Skip to content

Commit

Permalink
Minor variable name change
Browse files Browse the repository at this point in the history
  • Loading branch information
HitomiTenshi committed Mar 6, 2022
1 parent 577a029 commit 0f92da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn get_matches() -> ArgMatches {
value
.parse::<u16>()
.map(|port| PORT_RANGE.contains(&port))
.map_err(|e| e.to_string())
.map_err(|err| err.to_string())
.and_then(|result| match result {
true => Ok(()),
false => Err(format!(
Expand Down

0 comments on commit 0f92da8

Please sign in to comment.