diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2024-03-16 12:57:36 +0100 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2024-03-16 12:57:36 +0100 |
| commit | 52f84fa7c2a1c096bda71475e4e3007110a60887 (patch) | |
| tree | 743336bd026e9ea1d2795738894f7a8132138267 /src/bootstrap | |
| parent | 0ec5d374fe901488c9bd73cd2162bd62daca8261 (diff) | |
| download | rust-52f84fa7c2a1c096bda71475e4e3007110a60887.tar.gz rust-52f84fa7c2a1c096bda71475e4e3007110a60887.zip | |
Remove double remove_file
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bootstrap/src/lib.rs b/src/bootstrap/src/lib.rs index ea25015ba27..f0fe994d155 100644 --- a/src/bootstrap/src/lib.rs +++ b/src/bootstrap/src/lib.rs @@ -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); } } |
