From e7d8be3fcf3d17cff2ca929cf1da350aa9875dea Mon Sep 17 00:00:00 2001 From: hatoo Date: Wed, 20 Dec 2023 18:15:12 +0900 Subject: [PATCH] clippy --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a6326c1..836f25e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -472,7 +472,7 @@ where if let Some(data) = frame.data_ref() { let _ = tx.unbounded_send(Ok(Frame::data(data.clone()))); } else if let Some(trailers) = frame.trailers_ref() { - let _ = tx.unbounded_send(Ok(Frame::trailers(trailers.clone().into()))); + let _ = tx.unbounded_send(Ok(Frame::trailers(trailers.clone()))); } Some((Ok(frame), (body, tx))) }