From 82220ab7e84c6d0bf70d0254d8cd5933426e0ba4 Mon Sep 17 00:00:00 2001 From: amrbashir Date: Tue, 13 Dec 2022 00:21:11 +0200 Subject: [PATCH] chore: clippy --- src/platform_impl/gtk/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform_impl/gtk/mod.rs b/src/platform_impl/gtk/mod.rs index 1834310..600075e 100644 --- a/src/platform_impl/gtk/mod.rs +++ b/src/platform_impl/gtk/mod.rs @@ -862,7 +862,7 @@ impl PredefinedMenuItem { ) -> gtk::MenuItem { let self_ = self.0.borrow(); let text = self_.text.clone(); - let accelerator = self_.accelerator.clone(); + let accelerator = self_.accelerator; let predefined_item_type = self_.predefined_item_type.clone(); drop(self_);