mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 06:51:01 +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) -> \
|
||||
futures::future::BoxFuture<'static, \
|
||||
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
|
||||
)
|
||||
.unwrap();
|
||||
|
|
Loading…
Reference in a new issue