Skip to content

Commit

Permalink
Fix type error due to signature change.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Sep 3, 2019
1 parent 3ba9de8 commit 9382be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/compiler/standard_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn resolve_std<'cfg>(
];
let patches = to_patch
.iter()
.map(|name| {
.map(|&name| {
let source_path = SourceId::for_path(&src_path.join("src").join("tools").join(name))?;
let dep = Dependency::parse_no_deprecated(name, None, source_path)?;
Ok(dep)
Expand Down

0 comments on commit 9382be1

Please sign in to comment.