1
Fork 0

Mention that the panic hook will always run

This commit is contained in:
Steven Fackler 2016-05-19 22:35:09 -07:00
parent 179539f6eb
commit 78e06adca7
2 changed files with 6 additions and 5 deletions

View file

@ -395,7 +395,7 @@ pub fn recover<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
catch_unwind(f)
}
/// Triggers a panic without invoking the panic handler.
/// Triggers a panic without invoking the panic hook.
///
/// This is designed to be used in conjunction with `catch_unwind` to, for
/// example, carry a panic across a layer of C code.