From e1e0ba360f857d15e2fd250e653f306d9b721187 Mon Sep 17 00:00:00 2001 From: Vladimir Bauer Date: Sat, 12 Nov 2022 21:48:45 +0500 Subject: [PATCH] clippy suggestion --- src/kamp/argv.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kamp/argv.rs b/src/kamp/argv.rs index eb5d272..d31f0bf 100644 --- a/src/kamp/argv.rs +++ b/src/kamp/argv.rs @@ -169,7 +169,7 @@ pub(crate) struct RegisterName { } /// shell command -#[derive(FromArgs, PartialEq, Debug)] +#[derive(FromArgs, PartialEq, Eq, Debug)] #[argh(subcommand, name = "sh")] pub(crate) struct ShellCmdName { /// shell command @@ -177,7 +177,7 @@ pub(crate) struct ShellCmdName { pub name: String, } -#[derive(PartialEq, Debug)] +#[derive(PartialEq, Eq, Debug)] pub struct KeyValue { pub key: String, pub value: String,