diff --git a/src/lib.rs b/src/lib.rs index 05b8e6c..9f68642 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -434,6 +434,7 @@ impl ServerInner { Ok(()) } + #[allow(clippy::useless_let_if_seq)] async fn send_response(&self, response: Response, stream: &mut (impl AsyncWrite + Unpin + Send)) -> Result<()> { let use_complex_timeout = response.body.is_some() &&