From 8050db5b650426947472884c9016c3f540c64d24 Mon Sep 17 00:00:00 2001 From: fakeshadow <24548779@qq.com> Date: Fri, 16 Apr 2021 10:45:43 +0800 Subject: [PATCH] fix clippy --- actix-http/src/h1/dispatcher.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actix-http/src/h1/dispatcher.rs b/actix-http/src/h1/dispatcher.rs index 23c2ae8d5..e8e5aed35 100644 --- a/actix-http/src/h1/dispatcher.rs +++ b/actix-http/src/h1/dispatcher.rs @@ -1027,7 +1027,8 @@ mod tests { fn_service(|_req: Request| ready(Ok::<_, Error>(Response::ok()))) } - fn pending_service() -> impl Service, Error = Error> { + fn pending_service( + ) -> impl Service, Error = Error> { struct PendingForever; impl futures_core::Stream for PendingForever { type Item = Result;