From b34e0019974648ac3387283e3707eccb2450d634 Mon Sep 17 00:00:00 2001 From: Charles Hall Date: Fri, 7 Jun 2024 13:53:16 -0700 Subject: [PATCH] remove unused Clone derives --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index e4d197a4..8c63251d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -14,7 +14,7 @@ mod proxy; use proxy::ProxyConfig; #[allow(clippy::struct_excessive_bools)] -#[derive(Clone, Debug, Deserialize)] +#[derive(Debug, Deserialize)] pub(crate) struct Config { #[serde(default = "false_fn")] pub(crate) conduit_compat: bool, @@ -89,7 +89,7 @@ pub(crate) struct Config { pub(crate) catchall: BTreeMap, } -#[derive(Clone, Debug, Deserialize)] +#[derive(Debug, Deserialize)] pub(crate) struct TlsConfig { pub(crate) certs: String, pub(crate) key: String,