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);