mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Fix DialogueState
This commit is contained in:
parent
c83b8df5d5
commit
5108c20910
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,8 @@ pub fn expand(item: ItemEnum) -> Result<TokenStream, syn::Error> {
|
|||
impl #self_params_with_bounds teloxide::dispatching::HandlerFactory for #enum_ident #self_params #where_clause {
|
||||
type Out = #out;
|
||||
|
||||
fn handler() -> dptree::Handler<'static, dptree::di::DependencyMap, Self::Out> {
|
||||
fn handler() -> dptree::Handler<'static, dptree::di::DependencyMap, Self::Out,
|
||||
teloxide::dispatching::DpHandlerDescription> {
|
||||
assert_clone::<#enum_ident #self_params>();
|
||||
|
||||
dptree::entry()
|
||||
|
|
Loading…
Add table
Reference in a new issue