diff --git a/crates/core/src/conn/proto.rs b/crates/core/src/conn/proto.rs index 5b11e60cd..9cd612a3e 100644 --- a/crates/core/src/conn/proto.rs +++ b/crates/core/src/conn/proto.rs @@ -51,10 +51,8 @@ impl HttpBuilder { pub async fn serve_connection( &self, socket: I, - #[allow(unused_variables)] - service: S, - #[allow(unused_variables)] - server_shutdown_token: CancellationToken, + #[allow(unused_variables)] service: S, + #[allow(unused_variables)] server_shutdown_token: CancellationToken, idle_connection_timeout: Option, ) -> Result<()> where