From 95d982fa47e751c6e145973dd2061818f369766d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Casta=C3=B1o=20Arteaga?= Date: Fri, 25 Aug 2023 13:56:32 +0200 Subject: [PATCH] Make clippy happy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sergio CastaƱo Arteaga --- clotributor-registrar/src/registrar.rs | 1 + clotributor-tracker/src/tracker.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/clotributor-registrar/src/registrar.rs b/clotributor-registrar/src/registrar.rs index c895dc0..5c15de4 100644 --- a/clotributor-registrar/src/registrar.rs +++ b/clotributor-registrar/src/registrar.rs @@ -106,6 +106,7 @@ pub(crate) async fn run(cfg: &Config, db: DynDB) -> Result<()> { // Process foundations let http_client = reqwest::Client::new(); let foundations = db.foundations().await?; + #[allow(clippy::manual_try_fold)] let result = stream::iter(foundations) .map(|foundation| async { let foundation_id = foundation.foundation_id.clone(); diff --git a/clotributor-tracker/src/tracker.rs b/clotributor-tracker/src/tracker.rs index bf174b1..847f9bd 100644 --- a/clotributor-tracker/src/tracker.rs +++ b/clotributor-tracker/src/tracker.rs @@ -277,6 +277,7 @@ pub(crate) async fn run(cfg: &Config, db: DynDB, gh: DynGH) -> Result<()> { // Track repositories info!("tracking repositories"); + #[allow(clippy::manual_try_fold)] let result = stream::iter(repositories_to_track) .map(|repository| async { let db = db.clone();