We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 766fa85 commit 2b7e2c3Copy full SHA for 2b7e2c3
tonic/src/transport/service/grpc_timeout.rs
@@ -80,8 +80,8 @@ where
80
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
81
let this = self.project();
82
83
- if let Poll::Ready(result) = this.inner.poll(cx) {
84
- return Poll::Ready(result.map_err(Into::into));
+ if let ready @ Poll::Ready(_) = this.inner.poll(cx) {
+ return ready.map_err(Into::into);
85
}
86
87
if let Some(sleep) = this.sleep.as_pin_mut() {
0 commit comments