From ac7b58bbf6d42342bc25ef6303c195f50f7af391 Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Wed, 18 Dec 2024 15:51:02 +1000 Subject: [PATCH] fix formatting --- cable-tunnel-server/common/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cable-tunnel-server/common/src/lib.rs b/cable-tunnel-server/common/src/lib.rs index 9f7f9c8b..40a1f4d8 100644 --- a/cable-tunnel-server/common/src/lib.rs +++ b/cable-tunnel-server/common/src/lib.rs @@ -346,9 +346,7 @@ where }; let server_state = server_state.clone(); let service = - service_fn(move |req| { - request_handler(server_state.clone(), remote_addr, req) - }); + service_fn(move |req| request_handler(server_state.clone(), remote_addr, req)); let tls_acceptor = tls_acceptor.clone(); let span = info_span!("handle_connection", addr = remote_addr.to_string());