remove superfluous lifetime param

This commit is contained in:
Sam Rijs 2018-01-27 12:50:55 +11:00
parent 9dbc9c925c
commit 873b2c7069

View file

@ -85,7 +85,7 @@ impl Service for Api {
} }
impl Api { impl Api {
fn status<'r>(&self, _req: Request, params: Params, format: StatusFormat) -> fn status(&self, _req: Request, params: Params, format: StatusFormat) ->
impl Future<Item=Response, Error=HyperError> impl Future<Item=Response, Error=HyperError>
{ {
let engine = self.engine.clone(); let engine = self.engine.clone();