mirror of https://github.com/fafhrd91/actix-web
clippy
This commit is contained in:
parent
f1ab78a44c
commit
5305fc7664
|
@ -82,7 +82,7 @@ where
|
|||
cx: &mut Context<'_>,
|
||||
) -> Poll<Option<Result<Bytes, Self::Error>>> {
|
||||
match ready!(self.as_mut().poll_next(cx)) {
|
||||
Some(Err(err)) => Poll::Ready(Some(Err(err.into()))),
|
||||
Some(Err(err)) => Poll::Ready(Some(Err(err))),
|
||||
Some(Ok(val)) => Poll::Ready(Some(Ok(val))),
|
||||
None => Poll::Ready(None),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue