Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tonic/src/service/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ impl Future for RoutesFuture {
fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
match ready!(Pin::new(&mut self.as_mut().0).poll(cx)) {
Ok(res) => Ok(res.map(boxed)).into(),
// NOTE: This pattern is not needed from Rust 1.82.
// See https://github.com/rust-lang/rust/pull/122792.
#[allow(unreachable_patterns)]
Err(err) => match err {},
}
}
Expand Down