From 924eeda12dcf34402a8027868ae5fe0b7538512e Mon Sep 17 00:00:00 2001 From: fakeshadow <24548779@qq.com> Date: Thu, 13 May 2021 15:23:39 +0800 Subject: [PATCH] remove transpose combinator --- actix-http/src/h2/dispatcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/src/h2/dispatcher.rs b/actix-http/src/h2/dispatcher.rs index 59a274f34..367a2bc02 100644 --- a/actix-http/src/h2/dispatcher.rs +++ b/actix-http/src/h2/dispatcher.rs @@ -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);