Apply clippy::cloned_instead_of_copied
This commit is contained in:
parent
5424bbf86a
commit
59b916e736
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ fn parse_opts_into_struct(
|
|||
};
|
||||
|
||||
// Get custom brute settings and rebuild the filter set to apply them
|
||||
let mut brute_lines = matches.get_one::<usize>("brute-lines").cloned();
|
||||
let mut brute_lines = matches.get_one::<usize>("brute-lines").copied();
|
||||
let mut brute_level = matches.get_one::<i64>("brute-level").map(|x| *x as u8);
|
||||
let mut new_filters = IndexSet::new();
|
||||
for mut f in opts.filters.drain(..) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue