Skip to content

Commit

Permalink
Use suggested rustfmt settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Aug 24, 2024
1 parent c92ecab commit 31743e1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/server/conn/http1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 31743e1

Please sign in to comment.