Skip to content

Commit fa8375b

Browse files
committed
Remove remove_dir_all
1 parent 7d8d028 commit fa8375b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crates/cargo-test-support/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ git2 = "0.15.0"
1919
glob = "0.3"
2020
itertools = "0.10.0"
2121
lazy_static = "1.0"
22-
remove_dir_all = "0.5"
2322
serde_json = "1.0"
2423
tar = { version = "0.4.38", default-features = false }
2524
termcolor = "1.1.2"

crates/cargo-test-support/src/paths.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl CargoPathExt for Path {
141141
// actually performing the removal, but we don't care all that much
142142
// for our tests.
143143
if meta.is_dir() {
144-
if let Err(e) = remove_dir_all::remove_dir_all(self) {
144+
if let Err(e) = fs::remove_dir_all(self) {
145145
panic!("failed to remove {:?}: {:?}", self, e)
146146
}
147147
} else if let Err(e) = fs::remove_file(self) {

0 commit comments

Comments
 (0)