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;