From ad89d08f0f37b5e0259f5d35209ccb16ae4f2ce3 Mon Sep 17 00:00:00 2001
From: yggverse <yggverse@project>
Date: Tue, 12 Nov 2024 18:05:44 +0200
Subject: [PATCH] remove extra brackets

---
 src/app/browser/window.rs | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/app/browser/window.rs b/src/app/browser/window.rs
index b8fe8f19..7ad19cd7 100644
--- a/src/app/browser/window.rs
+++ b/src/app/browser/window.rs
@@ -71,16 +71,12 @@ impl Window {
 
         action.close().connect_activate({
             let tab = tab.clone();
-            move |position| {
-                tab.close(position);
-            }
+            move |position| tab.close(position)
         });
 
         action.close_all().connect_activate({
             let tab = tab.clone();
-            move |_| {
-                tab.close_all();
-            } // @TODO position not in use
+            move |_| tab.close_all()
         });
 
         action.history_back().connect_activate({