Skip to content

Commit b50cde8

Browse files
author
Jon Gjengset
committed
Fixes from review
1 parent 6bc97fc commit b50cde8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/cargo/core/workspace.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,9 @@ impl<'cfg> Workspace<'cfg> {
403403
/* platform */ None,
404404
// NOTE: Since we use ConfigRelativePath, this root isn't used as
405405
// any relative paths are resolved before they'd be joined with root.
406-
self.root(),
406+
&Path::new("unused-relative-path"),
407407
self.unstable_features(),
408-
None,
408+
/* kind */ None,
409409
)
410410
})
411411
.collect::<CargoResult<Vec<_>>>()?,
@@ -418,8 +418,6 @@ impl<'cfg> Workspace<'cfg> {
418418
.warn(format!("[patch] in cargo config: {}", message))?
419419
}
420420

421-
let _ = nested_paths;
422-
423421
Ok(patch)
424422
}
425423

0 commit comments

Comments
 (0)