1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 00:50:20 +02:00

fix CI clippy warnings (#1664)

This commit is contained in:
Rob Ede
2020-09-10 14:46:35 +01:00
committed by GitHub
parent 2f6e9738c4
commit 7787638f26
11 changed files with 37 additions and 31 deletions

View File

@@ -193,11 +193,7 @@ impl RequestSender {
}
};
SendClientRequest::new(
fut,
response_decompress,
timeout.or_else(|| config.timeout),
)
SendClientRequest::new(fut, response_decompress, timeout.or(config.timeout))
}
pub(crate) fn send_json<T: Serialize>(