From 36deed22466ac091423e4cb87d4606c201906ab8 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 22 Apr 2021 15:32:44 +0100 Subject: [PATCH] clippy --- actix-http/src/encoding/encoder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/src/encoding/encoder.rs b/actix-http/src/encoding/encoder.rs index addd6b7a8..705a61af1 100644 --- a/actix-http/src/encoding/encoder.rs +++ b/actix-http/src/encoding/encoder.rs @@ -185,7 +185,7 @@ where let result = ready!(this.body.as_mut().poll_next(cx)); match result { - Some(Err(err)) => return Poll::Ready(Some(Err(err.into()))), + Some(Err(err)) => return Poll::Ready(Some(Err(err))), Some(Ok(chunk)) => { if let Some(mut encoder) = this.encoder.take() {