From 8b7fdb72fc76c718c3b216970980926de2849594 Mon Sep 17 00:00:00 2001 From: Nathan Whitaker Date: Wed, 27 Nov 2024 13:05:51 -0500 Subject: [PATCH] appease clippy --- src/resolution/snapshot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolution/snapshot.rs b/src/resolution/snapshot.rs index 9242e45..88cabc8 100644 --- a/src/resolution/snapshot.rs +++ b/src/resolution/snapshot.rs @@ -295,7 +295,7 @@ impl NpmResolutionSnapshot { } while let Some(id) = stack.pop() { - let package = self.package_from_id(&id)?; + let package = self.package_from_id(id)?; packages_by_name .entry(package.id.nv.name.to_string()) .or_default()