diff --git a/src/route.rs b/src/route.rs index 89a774969..87d818977 100644 --- a/src/route.rs +++ b/src/route.rs @@ -140,9 +140,7 @@ impl Route { /// type Error = actix_web::Error; /// type Future = LocalBoxFuture<'static, Result>; /// - /// fn poll_ready(&self, _: &mut Context<'_>) -> Poll> { - /// Poll::Ready(Ok(())) - /// } + /// always_ready!(); /// /// fn call(&self, req: ServiceRequest) -> Self::Future { /// let (req, _) = req.into_parts();