From 9159dff77cae7424aeb7dcb331288d98709c99ea Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Tue, 30 Apr 2019 14:29:40 +0200 Subject: [PATCH] Be forward compatible with rust-lang/rust#59928 --- http/src/handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/src/handler.rs b/http/src/handler.rs index 63e6631cb..65dd415f2 100644 --- a/http/src/handler.rs +++ b/http/src/handler.rs @@ -119,7 +119,7 @@ impl> Future for Handler { type Item = hyper::Response; type Error = hyper::Error; - fn poll(&mut self) -> Poll { + fn poll(&mut self) -> Poll { match *self { Handler::Rpc(ref mut handler) => handler.poll(), Handler::Middleware(ref mut middleware) => middleware.poll(),