From 185d207ca6af59d481dc84c1430489330f7f91b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Quentin?= Date: Fri, 22 Nov 2024 16:43:11 +0100 Subject: [PATCH] Clippy --- src/tui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui.rs b/src/tui.rs index 1837ffe..4d639bc 100644 --- a/src/tui.rs +++ b/src/tui.rs @@ -67,7 +67,7 @@ impl Repository { self.selected.push(option.name.to_string()); } - let toggled_option = option.clone(); + let toggled_option = option; let currently_selected = self.selected.clone(); for option in currently_selected { let Some(option) = find_option(&option, self.options) else {