From ce802d83201fd4f288b16ae25ed93b461aa976f1 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 10 Jul 2024 12:37:51 +0200 Subject: [PATCH] rest-server: drop some unnecessary 'pub's Signed-off-by: Wolfgang Bumiller --- proxmox-rest-server/src/connection.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proxmox-rest-server/src/connection.rs b/proxmox-rest-server/src/connection.rs index 2ca83fe2..217af884 100644 --- a/proxmox-rest-server/src/connection.rs +++ b/proxmox-rest-server/src/connection.rs @@ -260,14 +260,14 @@ impl From<(ClientSender, InsecureClientSender)> for Sender { } struct AcceptState { - pub socket: InsecureClientStream, - pub peer: SocketAddr, - pub acceptor: Arc>, - pub accept_counter: Arc<()>, + socket: InsecureClientStream, + peer: SocketAddr, + acceptor: Arc>, + accept_counter: Arc<()>, } struct AcceptFlags { - pub is_debug: bool, + is_debug: bool, } impl AcceptBuilder {