From 3944e4e60e431247eefc0b3cf35af27fb011f37b Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Wed, 13 Sep 2023 18:51:30 +0300 Subject: [PATCH] meli: update to 2021 edition Signed-off-by: Manos Pitsidianakis --- meli/Cargo.toml | 2 +- meli/src/accounts.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,