Skip to content

Commit

Permalink
appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwhit committed Nov 27, 2024
1 parent 3d98b70 commit 8b7fdb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolution/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8b7fdb7

Please sign in to comment.