Skip to content

Commit

Permalink
Fixes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Gjengset committed Mar 15, 2021
1 parent 6bc97fc commit b50cde8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/cargo/core/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ impl<'cfg> Workspace<'cfg> {
/* platform */ None,
// NOTE: Since we use ConfigRelativePath, this root isn't used as
// any relative paths are resolved before they'd be joined with root.
self.root(),
&Path::new("unused-relative-path"),
self.unstable_features(),
None,
/* kind */ None,
)
})
.collect::<CargoResult<Vec<_>>>()?,
Expand All @@ -418,8 +418,6 @@ impl<'cfg> Workspace<'cfg> {
.warn(format!("[patch] in cargo config: {}", message))?
}

let _ = nested_paths;

Ok(patch)
}

Expand Down

0 comments on commit b50cde8

Please sign in to comment.