mirror of https://github.com/fafhrd91/actix-web
remove transpose combinator
This commit is contained in:
parent
49d2e3f02d
commit
924eeda12d
|
@ -80,7 +80,7 @@ where
|
|||
let this = self.get_mut();
|
||||
|
||||
while let Some((req, tx)) =
|
||||
ready!(Pin::new(&mut this.connection).poll_accept(cx)).transpose()?
|
||||
ready!(Pin::new(&mut this.connection).poll_accept(cx)?)
|
||||
{
|
||||
let (parts, body) = req.into_parts();
|
||||
let pl = crate::h2::Payload::new(body);
|
||||
|
|
Loading…
Reference in New Issue