From a0c26830cceb198fae24fd94c06f719fba01269b Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Sun, 15 Oct 2023 11:20:52 +0200 Subject: Remove unused variable --- src/ui/preferences_window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/preferences_window.rs') diff --git a/src/ui/preferences_window.rs b/src/ui/preferences_window.rs index 1b827fe..d3de8de 100644 --- a/src/ui/preferences_window.rs +++ b/src/ui/preferences_window.rs @@ -229,7 +229,7 @@ impl FurPreferencesWindow { window.reset_history_box(); }); - imp.autocomplete_switch.connect_active_notify(move |switch| { + imp.autocomplete_switch.connect_active_notify(move |_| { let window = FurtheranceWindow::default(); window.reset_autocomplete(); }); -- cgit 1.4.1