Silence clippy false positive

devel
Emi Tatsuo 2 years ago
parent cd0c4c328d
commit 285768f509
Signed by: Emi
GPG Key ID: 68FAB2E2E6DFC98B

@ -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() &&

Loading…
Cancel
Save