diff --git a/src/api.rs b/src/api.rs index 7b91c36..e97c83b 100644 --- a/src/api.rs +++ b/src/api.rs @@ -85,7 +85,7 @@ impl Service for Api { } impl Api { - fn status<'r>(&self, _req: Request, params: Params, format: StatusFormat) -> + fn status(&self, _req: Request, params: Params, format: StatusFormat) -> impl Future { let engine = self.engine.clone();