Skip to content

Commit

Permalink
Make clippy happy (#424)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
  • Loading branch information
tegioz authored Aug 25, 2023
1 parent b4e6b4e commit d465ba0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions clotributor-registrar/src/registrar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions clotributor-tracker/src/tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d465ba0

Please sign in to comment.