Skip to content

Commit 9b39df9

Browse files
theo-lwweihanglo
andauthored
Remove borrow
Co-authored-by: Weihang Lo <[email protected]>
1 parent 3e1a8ba commit 9b39df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/cargo_clean.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub fn clean(ws: &Workspace<'_>, opts: &CleanOptions<'_>) -> CargoResult<()> {
5353
// Note that we don't bother grabbing a lock here as we're just going to
5454
// blow it all away anyway.
5555
if opts.spec.is_empty() {
56-
return clean_entire_folder(&target_dir.into_path_unlocked(), &config);
56+
return clean_entire_folder(&target_dir.into_path_unlocked(), config);
5757
}
5858

5959
// Clean specific packages.

0 commit comments

Comments
 (0)