From 5f0de72b88196a13fb619fe926dad10b26f69dfe Mon Sep 17 00:00:00 2001 From: Jacob Kiers Date: Fri, 25 Aug 2023 22:56:46 +0200 Subject: [PATCH] Remove unused variable Signed-off-by: Jacob Kiers --- src/servers/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/servers/mod.rs b/src/servers/mod.rs index bda4e79..0161e68 100644 --- a/src/servers/mod.rs +++ b/src/servers/mod.rs @@ -13,7 +13,6 @@ use protocol::tcp; #[derive(Debug)] pub(crate) struct Server { pub proxies: Vec>, - pub config: ParsedConfig, } #[derive(Debug, Clone)] @@ -31,7 +30,6 @@ impl Server { pub fn new(config: ParsedConfig) -> Self { let mut new_server = Server { proxies: Vec::new(), - config: config.clone(), }; for (name, proxy) in config.servers.iter() {