mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-24 23:57:38 +01:00
async { ... } -> async move { ... }
This commit is contained in:
parent
a21513353e
commit
cdd988afe9
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ pub fn derive_transition(item: TokenStream) -> TokenStream {
|
||||||
<{0} as teloxide::dispatching::dialogue::SubTransition>::Aux) -> \
|
<{0} as teloxide::dispatching::dialogue::SubTransition>::Aux) -> \
|
||||||
futures::future::BoxFuture<'static, \
|
futures::future::BoxFuture<'static, \
|
||||||
teloxide::dispatching::dialogue::TransitionOut<Self>> {{ \
|
teloxide::dispatching::dialogue::TransitionOut<Self>> {{ \
|
||||||
futures::future::FutureExt::boxed(async {{ match self {{",
|
futures::future::FutureExt::boxed(async move {{ match self {{",
|
||||||
field_type_of_first_variant, enum_name
|
field_type_of_first_variant, enum_name
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
Loading…
Add table
Reference in a new issue