From f01b2be6f3ad6191ff413c698c536ae5e47e149a Mon Sep 17 00:00:00 2001 From: Ibraheem Ahmed Date: Tue, 22 Jun 2021 23:55:41 -0400 Subject: [PATCH] use always_ready macro --- src/route.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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();