diff options
| author | Matt Harding <majaharding@gmail.com> | 2023-02-16 00:25:28 +0000 |
|---|---|---|
| committer | Matt Harding <majaharding@gmail.com> | 2023-02-20 23:37:19 +0000 |
| commit | ec9a4ce19e6f1a6c760633bcc8826d47cba27f22 (patch) | |
| tree | 9ebfc9447b73ecbaa866e75fea5c17896e9a45bb /compiler/rustc_interface/src | |
| parent | c5283576ec18937d98889679a54aa8f2dee2b875 (diff) | |
| download | rust-ec9a4ce19e6f1a6c760633bcc8826d47cba27f22.tar.gz rust-ec9a4ce19e6f1a6c760633bcc8826d47cba27f22.zip | |
Explain the default panic hook better
This changes the documentation of `std::panic::set_hook` and `take_hook` to better explain how the default panic hook works. In particular the fact that `take_hook` registers the default hook, rather than no hook at all, was missing from the docs.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
