Silence clippy false positive
This commit is contained in:
parent
cd0c4c328d
commit
285768f509
|
@ -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…
Reference in a new issue