Allow a couple clippy lints

This commit is contained in:
Ian Douglas Scott 2025-01-15 11:56:23 -08:00
parent 392adda651
commit 5cb9f6eb09

View file

@ -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)