Skip to content

Commit 9159dff

Browse files
authored
Be forward compatible with rust-lang/rust#59928
1 parent 3a00395 commit 9159dff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/src/handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl<M: Metadata, S: Middleware<M>> Future for Handler<M, S> {
119119
type Item = hyper::Response<Body>;
120120
type Error = hyper::Error;
121121

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

0 commit comments

Comments
 (0)