Skip to content

Commit 6c1bc24

Browse files
committed
Auto merge of #10002 - TaKO8Ki:fix-clippy-warnings, r=ehuss
Fix a clippy warning This pull request fixes a clippy warning.
2 parents dc6a1d5 + c3eab8d commit 6c1bc24

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)