Update error message

This commit is contained in:
Brian Muhia 2016-03-27 21:38:59 +03:00
parent 06aefb54bc
commit 4a8fe6c99d

View File

@ -59,7 +59,7 @@ impl RandomTempPath {
impl Drop for RandomTempPath { impl Drop for RandomTempPath {
fn drop(&mut self) { fn drop(&mut self) {
if let Err(e) = fs::remove_dir_all(self.as_path()) { if let Err(e) = fs::remove_dir_all(self.as_path()) {
panic!("failed to remove temp directory, probably something failed to destroyed ({})", e); panic!("Failed to remove temp directory. Here's what prevented this from happening: ({})", e);
} }
} }
} }