Skip to content

Commit c3eab8d

Browse files
committed
fix a clippy warning
1 parent e165bc8 commit c3eab8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/workspace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ impl<'cfg> Workspace<'cfg> {
431431
// but that's not quite right as it won't deal with overlaps.
432432
let mut combined = from_config;
433433
for (url, deps_from_manifest) in from_manifest {
434-
if let Some(deps_from_config) = combined.get_mut(&url) {
434+
if let Some(deps_from_config) = combined.get_mut(url) {
435435
// We want from_config to take precedence for each patched name.
436436
// NOTE: This is inefficient if the number of patches is large!
437437
let mut from_manifest_pruned = deps_from_manifest.clone();

0 commit comments

Comments
 (0)