diff --git a/http/src/handler.rs b/http/src/handler.rs index aebd2547e..78ba828ad 100644 --- a/http/src/handler.rs +++ b/http/src/handler.rs @@ -121,7 +121,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(),