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

fix clippy warnings (#1806)

* fix clippy warnings

* prevent CI fail status caused by codecov
This commit is contained in:
Rob Ede
2020-12-09 11:22:19 +00:00
committed by GitHub
parent 7a3776b770
commit ae63eb8bb2
8 changed files with 31 additions and 16 deletions

View File

@@ -105,6 +105,7 @@ mod tests {
use crate::test::{self, TestRequest};
use crate::HttpResponse;
#[allow(clippy::unnecessary_wraps)]
fn render_500<B>(mut res: ServiceResponse<B>) -> Result<ErrorHandlerResponse<B>> {
res.response_mut()
.headers_mut()