Fix DialogueState

This commit is contained in:
Hirrolot 2022-04-26 01:39:24 +06:00
parent c83b8df5d5
commit 5108c20910

View file

@ -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()