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 {