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 8d6d46b commit f4fd177Copy full SHA for f4fd177
tonic/src/service/router.rs
@@ -162,6 +162,9 @@ impl Future for RoutesFuture {
162
fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
163
match ready!(Pin::new(&mut self.as_mut().0).poll(cx)) {
164
Ok(res) => Ok(res.map(boxed)).into(),
165
+ // NOTE: This pattern is not needed from Rust 1.82.
166
+ // See https://github.com/rust-lang/rust/pull/122792.
167
+ #[allow(unreachable_patterns)]
168
Err(err) => match err {},
169
}
170
0 commit comments