Skip to content

Commit

Permalink
Be forward compatible with rust-lang/rust#59928
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril authored Apr 30, 2019
1 parent 3a00395 commit 9159dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl<M: Metadata, S: Middleware<M>> Future for Handler<M, S> {
type Item = hyper::Response<Body>;
type Error = hyper::Error;

fn poll(&mut self) -> Poll<Self::Item, Self::Error> {
fn poll(&mut self) -> Poll<Self::Item, hyper::Error> {
match *self {
Handler::Rpc(ref mut handler) => handler.poll(),
Handler::Middleware(ref mut middleware) => middleware.poll(),
Expand Down

0 comments on commit 9159dff

Please sign in to comment.