From 5305fc76648471ca6ec467910ff5566712988664 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 22 Apr 2021 15:28:13 +0100 Subject: [PATCH] clippy --- actix-http/src/body/message_body.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/src/body/message_body.rs b/actix-http/src/body/message_body.rs index 21e54a7f1..f24c29acb 100644 --- a/actix-http/src/body/message_body.rs +++ b/actix-http/src/body/message_body.rs @@ -82,7 +82,7 @@ where cx: &mut Context<'_>, ) -> Poll>> { 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), }