From 873b2c7069909f94a4f4860852ab365cd01b0926 Mon Sep 17 00:00:00 2001 From: Sam Rijs Date: Sat, 27 Jan 2018 12:50:55 +1100 Subject: [PATCH] remove superfluous lifetime param --- src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();