From 0b6ec30a14589b5155a34793f8ff6b451fd6650a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 02:36:58 +0000 Subject: [PATCH] Format Rust code using rustfmt --- crates/core/src/conn/proto.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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