Skip to content

Commit

Permalink
Remove double remove_file
Browse files Browse the repository at this point in the history
  • Loading branch information
Noratrieb committed Mar 16, 2024
1 parent 0ec5d37 commit 52f84fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bootstrap/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,6 @@ impl Build {
t!(fs::create_dir_all(&dst));
self.cp_link_r(&path, &dst);
} else {
let _ = fs::remove_file(&dst);
self.copy_link(&path, &dst);
}
}
Expand Down

0 comments on commit 52f84fa

Please sign in to comment.