mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Update src/dispatching2/dispatcher.rs
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
This commit is contained in:
parent
4259dcce7b
commit
9306f6d484
1 changed files with 1 additions and 4 deletions
|
@ -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 {},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue