From 25e73c681a5cb86bfa1adc5526c39806645d89db Mon Sep 17 00:00:00 2001 From: Pei Deng Date: Fri, 7 Jun 2024 17:28:28 -0700 Subject: [PATCH] clippy --- crates/suiop-cli/src/cli/ci/image.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/suiop-cli/src/cli/ci/image.rs b/crates/suiop-cli/src/cli/ci/image.rs index 2823db77879fa..57aaa714e12d7 100644 --- a/crates/suiop-cli/src/cli/ci/image.rs +++ b/crates/suiop-cli/src/cli/ci/image.rs @@ -220,7 +220,7 @@ fn generate_image_request(token: &str, action: &ImageAction) -> reqwest::Request } ImageAction::Query { repo_name, limit } => { let req = client.get(full_url); - let limit = limit.clone().unwrap_or(10); + let limit = (*limit).unwrap_or(10); let query = QueryBuildsRequest { repo_name: repo_name.clone(), limit,