From a761daca34794e7b82f177e4b680a1b694b8fdd0 Mon Sep 17 00:00:00 2001 From: asonix Date: Tue, 5 Sep 2023 20:55:11 -0500 Subject: [PATCH] clippy --- src/lib.rs | 2 +- src/queue.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 9684677..a66c890 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -560,7 +560,7 @@ async fn do_download_inline( metrics::increment_counter!("pict-rs.files", "download" => "inline"); let (alias, delete_token, details) = - ingest_inline(stream, &repo, &store, &client, &config).await?; + ingest_inline(stream, &repo, &store, client, &config).await?; Ok(HttpResponse::Created().json(&serde_json::json!({ "msg": "ok", diff --git a/src/queue.rs b/src/queue.rs index e1e90af..8225d8b 100644 --- a/src/queue.rs +++ b/src/queue.rs @@ -351,6 +351,7 @@ async fn process_image_jobs( } } +#[allow(clippy::too_many_arguments)] async fn image_job_loop( repo: &Arc, store: &S,