From 5cb9f6eb0923312237368836ba62998aead32d06 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Wed, 15 Jan 2025 11:56:23 -0800 Subject: [PATCH] Allow a couple clippy lints --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index d557c73..e938d61 100644 --- a/src/main.rs +++ b/src/main.rs @@ -70,6 +70,7 @@ pub struct Args {} #[derive(Default, Debug, Clone)] pub struct WorkspaceCommands; +#[allow(clippy::to_string_trait_impl)] impl ToString for WorkspaceCommands { fn to_string(&self) -> String { String::new() @@ -419,6 +420,7 @@ impl Application for App { )); // XXX efficiency + #[allow(clippy::mutable_key_type)] let img_for_output = old_workspaces .iter() .find(|i| i.handle == workspace.handle)