1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-07-01 08:45:10 +02:00

address clippy warnings

This commit is contained in:
Rob Ede
2020-12-27 20:53:19 +00:00
parent f9fcf56d5c
commit 8c9ea43e23
4 changed files with 25 additions and 19 deletions

View File

@ -179,6 +179,7 @@ mod tests {
assert_eq!(resp.headers().get(CONTENT_TYPE).unwrap(), "0001");
}
#[allow(clippy::unnecessary_wraps)]
fn render_500_async<B: 'static>(
mut res: ServiceResponse<B>,
) -> Result<ErrorHandlerResponse<B>> {