From 31743e1a0b3477be12adfa17edd04832fa3ac668 Mon Sep 17 00:00:00 2001 From: Finn Bear Date: Sat, 24 Aug 2024 10:06:39 -0700 Subject: [PATCH] Use suggested rustfmt settings. --- src/server/conn/http1.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/server/conn/http1.rs b/src/server/conn/http1.rs index 1e87ae91b4..bf0d949ee6 100644 --- a/src/server/conn/http1.rs +++ b/src/server/conn/http1.rs @@ -465,10 +465,7 @@ impl Builder { { conn.set_http1_header_read_timeout(dur); }; - if let Some(dur) = self - .timer - .check(self.h1_idle_timeout, "idle_timeout") - { + if let Some(dur) = self.timer.check(self.h1_idle_timeout, "idle_timeout") { conn.set_http1_idle_timeout(dur); }; if let Some(writev) = self.h1_writev {