mirror of https://github.com/fafhrd91/actix-web
fmt
This commit is contained in:
parent
37573d7fdf
commit
df25b43e67
|
@ -133,9 +133,7 @@ where
|
|||
},
|
||||
EncoderBodyProj::BoxedStream(ref mut b) => {
|
||||
match ready!(b.as_pin_mut().poll_next(cx)) {
|
||||
Some(Err(err)) => {
|
||||
Poll::Ready(Some(Err(EncoderError::Boxed(err))))
|
||||
}
|
||||
Some(Err(err)) => Poll::Ready(Some(Err(EncoderError::Boxed(err)))),
|
||||
Some(Ok(val)) => Poll::Ready(Some(Ok(val))),
|
||||
None => Poll::Ready(None),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue