From 39e5cb7fa294629f16a115befe2e1e5d55302484 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 24 Jun 2016 15:28:56 -0700 Subject: [PATCH] fixes --- src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5bb3801..aa3ffa4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -87,9 +87,10 @@ use rand::{thread_rng, Rng}; /// `TempDir` destructor will silently ignore any errors in deleting /// the directory; to instead handle errors call [`TempDir::close`]. /// -/// Note that if the program exits before the `TempDir` destructor -/// is run, such as via [`std::process::exit`] or by segfaulting, -/// then the temporary directory will not be deleted. +/// Note that if the program exits before the `TempDir` destructor is +/// run, such as via [`std::process::exit`], by segfaulting, or by +/// receiving a signal like `SIGINT`, then the temporary directory +/// will not be deleted. /// /// [`File`]: http://doc.rust-lang.org/std/fs/struct.File.html /// [`Path`]: http://doc.rust-lang.org/std/path/struct.Path.html