Skip to content

Commit 9382be1

Browse files
committed
Fix type error due to signature change.
1 parent 3ba9de8 commit 9382be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/standard_lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub fn resolve_std<'cfg>(
3838
];
3939
let patches = to_patch
4040
.iter()
41-
.map(|name| {
41+
.map(|&name| {
4242
let source_path = SourceId::for_path(&src_path.join("src").join("tools").join(name))?;
4343
let dep = Dependency::parse_no_deprecated(name, None, source_path)?;
4444
Ok(dep)

0 commit comments

Comments
 (0)