Skip to content

Commit

Permalink
refactor: remove redundant redefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
hamirmahal committed Mar 10, 2024
1 parent ce6df59 commit 9991ba9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ impl<'a> Commands<'a> {
let command_names = command_names.map_or(vec![], |names| {
names.map(|v| v.as_str()).collect::<Vec<_>>()
});
let command_strings = command_strings;
let param_name = vals.next().unwrap().as_str();
let param_min = vals.next().unwrap().as_str();
let param_max = vals.next().unwrap().as_str();
Expand Down

0 comments on commit 9991ba9

Please sign in to comment.