diff --git a/tower-service/src/lib.rs b/tower-service/src/lib.rs index a6ef0ece..79dc2fed 100644 --- a/tower-service/src/lib.rs +++ b/tower-service/src/lib.rs @@ -260,7 +260,7 @@ use std::task::{Context, Poll}; /// type Future = Pin>>>; /// /// fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { -/// Poll::Ready(Ok(())) +/// self.inner.poll_ready(cx) /// } /// /// fn call(&mut self, req: R) -> Self::Future { @@ -295,7 +295,7 @@ use std::task::{Context, Poll}; /// type Future = Pin>>>; /// /// fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { -/// Poll::Ready(Ok(())) +/// self.inner.poll_ready(cx) /// } /// /// fn call(&mut self, req: R) -> Self::Future {