Update crates/proc-macro-test/build.rs

Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
Amos Wenger 2022-07-20 16:56:25 +02:00 committed by GitHub
parent 898898df89
commit 9a8efe235f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ fn main() {
let staging_dir = out_dir.join("proc-macro-test-imp-staging");
// this'll error out if the staging dir didn't previously. using
// `std::fs::exists` would suffer from TOCTOU so just do our best to
// wip it and ignore errors.
// wipe it and ignore errors.
let _ = std::fs::remove_dir_all(&staging_dir);
println!("Creating {}", staging_dir.display());