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(), ));