Skip to content

Commit 3e1a8ba

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

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
@@ -34,7 +34,7 @@ pub fn clean(ws: &Workspace<'_>, opts: &CleanOptions<'_>) -> CargoResult<()> {
3434
// If the doc option is set, we just want to delete the doc directory.
3535
if opts.doc {
3636
target_dir = target_dir.join("doc");
37-
return clean_entire_folder(&target_dir.into_path_unlocked(), &config);
37+
return clean_entire_folder(&target_dir.into_path_unlocked(), config);
3838
}
3939

4040
let profiles = Profiles::new(ws, opts.requested_profile)?;

0 commit comments

Comments
 (0)