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 d89c8ec commit 978dbe0Copy full SHA for 978dbe0
benches/src/utils.rs
@@ -44,8 +44,9 @@ impl Drop for ShallowTempDir {
44
});
45
46
if should_clean_up {
47
- // Ignore errors when removing the directory
48
- let _ = std::fs::remove_dir_all(&self.path);
+ if let Err(e) = std::fs::remove_dir_all(&self.path) {
+ eprintln!("Failed to remove temp directory: {:?}", e);
49
+ }
50
}
51
52
0 commit comments