mirror of https://github.com/fafhrd91/actix-web
clippy
This commit is contained in:
parent
5305fc7664
commit
36deed2246
|
@ -185,7 +185,7 @@ where
|
||||||
let result = ready!(this.body.as_mut().poll_next(cx));
|
let result = ready!(this.body.as_mut().poll_next(cx));
|
||||||
|
|
||||||
match result {
|
match result {
|
||||||
Some(Err(err)) => return Poll::Ready(Some(Err(err.into()))),
|
Some(Err(err)) => return Poll::Ready(Some(Err(err))),
|
||||||
|
|
||||||
Some(Ok(chunk)) => {
|
Some(Ok(chunk)) => {
|
||||||
if let Some(mut encoder) = this.encoder.take() {
|
if let Some(mut encoder) = this.encoder.take() {
|
||||||
|
|
Loading…
Reference in New Issue