mirror of https://github.com/fafhrd91/actix-web
use always_ready macro
This commit is contained in:
parent
626695db9c
commit
f01b2be6f3
|
@ -140,9 +140,7 @@ impl Route {
|
|||
/// type Error = actix_web::Error;
|
||||
/// type Future = LocalBoxFuture<'static, Result<Self::Response, Self::Error>>;
|
||||
///
|
||||
/// fn poll_ready(&self, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
|
||||
/// Poll::Ready(Ok(()))
|
||||
/// }
|
||||
/// always_ready!();
|
||||
///
|
||||
/// fn call(&self, req: ServiceRequest) -> Self::Future {
|
||||
/// let (req, _) = req.into_parts();
|
||||
|
|
Loading…
Reference in New Issue