From 6e869ebb1bf9a5f2029d512c00b4003a07b10c7f Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Wed, 29 Jun 2022 20:10:37 -0400 Subject: [PATCH] window: Remove unecessary String cast in pick_file() Per clippy lints --- src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.rs b/src/window.rs index dd8a5f6..95a6a28 100644 --- a/src/window.rs +++ b/src/window.rs @@ -240,7 +240,7 @@ impl LpWindow { fn pick_file(&self) { let chooser = gtk::FileChooserNative::new( - Some(&"Open Image".to_string()), + Some("Open Image"), Some(self), gtk::FileChooserAction::Open, None,