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(),