More consistent poll_ready usage

The `#[inline]`s probably aren't necessary but are consistent with other
parts of the code and tower in general.
This commit is contained in:
David Pedersen
2021-10-26 01:24:57 +02:00
parent e949c47df6
commit efdd197643
8 changed files with 42 additions and 9 deletions
+1
View File
@@ -132,6 +132,7 @@ where
type Error = Infallible;
type Future = HandleErrorFuture<Oneshot<S, Request<ReqBody>>, F>;
#[inline]
fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
Poll::Ready(Ok(()))
}