We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d8d028 commit fa8375bCopy full SHA for fa8375b
crates/cargo-test-support/Cargo.toml
@@ -19,7 +19,6 @@ git2 = "0.15.0"
19
glob = "0.3"
20
itertools = "0.10.0"
21
lazy_static = "1.0"
22
-remove_dir_all = "0.5"
23
serde_json = "1.0"
24
tar = { version = "0.4.38", default-features = false }
25
termcolor = "1.1.2"
crates/cargo-test-support/src/paths.rs
@@ -141,7 +141,7 @@ impl CargoPathExt for Path {
141
// actually performing the removal, but we don't care all that much
142
// for our tests.
143
if meta.is_dir() {
144
- if let Err(e) = remove_dir_all::remove_dir_all(self) {
+ if let Err(e) = fs::remove_dir_all(self) {
145
panic!("failed to remove {:?}: {:?}", self, e)
146
}
147
} else if let Err(e) = fs::remove_file(self) {
0 commit comments