diff --git a/meli/Cargo.toml b/meli/Cargo.toml index a4d411a4..c42ac176 100644 --- a/meli/Cargo.toml +++ b/meli/Cargo.toml @@ -2,7 +2,7 @@ name = "meli" version = "0.8.0" authors = ["Manos Pitsidianakis "] -edition = "2018" +edition = "2021" rust-version = "1.65.0" license = "GPL-3.0-or-later" diff --git a/meli/src/accounts.rs b/meli/src/accounts.rs index 0813cff8..d413c0f3 100644 --- a/meli/src/accounts.rs +++ b/meli/src/accounts.rs @@ -1428,7 +1428,7 @@ impl Account { ) -> impl FnOnce(Arc) -> Pin> + Send>> + Send { let capabilities = self.backend_capabilities.clone(); let backend = self.backend.clone(); - |message: Arc| -> Pin> + Send>> { + move |message: Arc| -> Pin> + Send>> { Box::pin(async move { use std::{ io::Write,