From 86c8ba2b6630adc640c3ff4551e60da31410744e Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 20 Nov 2024 16:33:46 +0200 Subject: [PATCH] drop extra move --- .../window/tab/item/identity/gemini/widget/form/list.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs b/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs index af38c25d..acfadd7c 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs @@ -27,7 +27,7 @@ impl List { // * wanted only to append items after `DropDown` init let factory = SignalListItemFactory::new(); - factory.connect_setup(move |_, gobject| { + factory.connect_setup(|_, gobject| { // Init row widget for dropdown item let widget = Box::builder() .orientation(gtk::Orientation::Vertical) @@ -51,7 +51,7 @@ impl List { .set_child(Some(&widget)); }); - factory.connect_bind(move |_, gobject| { + factory.connect_bind(|_, gobject| { // Downcast requirements let list_item = gobject.downcast_ref::().unwrap(); let item = list_item.item().and_downcast::().unwrap();