From 76ddc32a7cd3ba12d53577422faf54a96e1a2bab Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 28 Sep 2024 02:29:14 +0300 Subject: [PATCH] remove extra data type definition --- src/browser/main/tab.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/main/tab.rs b/src/browser/main/tab.rs index 48fa732a..2f0be549 100644 --- a/src/browser/main/tab.rs +++ b/src/browser/main/tab.rs @@ -34,7 +34,7 @@ impl Tab { // Actions pub fn activate(&self, tab: Arc) { self.widget.connect_page_removed({ - move |_, widget: &Widget, _| { + move |_, widget, _| { // Cleanup HashMap index let id = &widget.widget_name(); tab.labels.borrow_mut().remove(id);