From 4b0c1a3458530ef5f9c7db0cb5e840d908e3e696 Mon Sep 17 00:00:00 2001 From: Nathan Whitaker Date: Wed, 20 Nov 2024 14:15:44 -0800 Subject: [PATCH] appease clippy --- cli/tools/registry/pm/outdated.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/tools/registry/pm/outdated.rs b/cli/tools/registry/pm/outdated.rs index c5520f6e9439d5..2a29014267d67e 100644 --- a/cli/tools/registry/pm/outdated.rs +++ b/cli/tools/registry/pm/outdated.rs @@ -288,7 +288,7 @@ async fn update( updated.push(( dep_id, format!("{}:{}", dep.kind.scheme(), dep.req.name), - deps.resolved_version(dep.id).map(|a| a.clone()), + deps.resolved_version(dep.id).cloned(), new_version_req.clone(), ));