From 59b916e7361d0c605430e770d2ef4a964de0585a Mon Sep 17 00:00:00 2001 From: Luracasmus <77991691+Luracasmus@users.noreply.github.com> Date: Sat, 22 Nov 2025 19:56:33 +0100 Subject: [PATCH] Apply `clippy::cloned_instead_of_copied` --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ecc26bf7..7b9fe684 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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::("brute-lines").cloned(); + let mut brute_lines = matches.get_one::("brute-lines").copied(); let mut brute_level = matches.get_one::("brute-level").map(|x| *x as u8); let mut new_filters = IndexSet::new(); for mut f in opts.filters.drain(..) {