diff --git a/src/dispatching2/dispatcher.rs b/src/dispatching2/dispatcher.rs index ae5ec49f..8d4c96a0 100644 --- a/src/dispatching2/dispatcher.rs +++ b/src/dispatching2/dispatcher.rs @@ -232,10 +232,7 @@ where ControlFlow::Continue(deps) => { match self.default_handler.clone().dispatch(deps).await { ControlFlow::Break(()) => {} - ControlFlow::Continue(_) => unreachable!( - "This is unreachable due to Infallible type in the DefaultHandler \ - type" - ), + ControlFlow::Continue(inf) => match inf {}, } } }