1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-08-31 19:46:59 +02:00

clippy warnings

This commit is contained in:
Nikolay Kim
2019-02-04 11:04:10 -08:00
parent 7dca264546
commit 08bc328826
8 changed files with 21 additions and 8 deletions

View File

@@ -72,7 +72,7 @@ where
fn poll_ready(&mut self) -> Poll<(), Self::Error> {
try_ready!(self.a.poll_ready());
self.b.get_mut().poll_ready().map_err(|e| e.into())
self.b.get_mut().poll_ready()
}
fn call(&mut self, req: A::Request) -> Self::Future {
@@ -123,7 +123,7 @@ where
self.poll()
}
Ok(Async::NotReady) => Ok(Async::NotReady),
Err(err) => Err(err.into()),
Err(err) => Err(err),
}
}
}