From af3d8c620b1df3eaf42064359f908e7948ad79f8 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 29 Nov 2024 16:13:13 +0200 Subject: [PATCH] replace clone with dereference --- .../browser/window/tab/item/identity/gemini/widget/form/drop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/form/drop.rs b/src/app/browser/window/tab/item/identity/gemini/widget/form/drop.rs index 75d749e6..5e5601b9 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/form/drop.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/form/drop.rs @@ -80,7 +80,7 @@ impl Drop { let gobject = gobject.clone(); let list = list.clone(); let profile = profile.clone(); - let profile_identity_gemini_id = profile_identity_gemini_id.clone(); + let profile_identity_gemini_id = *profile_identity_gemini_id; move |_, _| { match profile.identity.gemini.delete(profile_identity_gemini_id) { Ok(_) => {