about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatt Harding <majaharding@gmail.com>2023-02-16 00:25:28 +0000
committerMatt Harding <majaharding@gmail.com>2023-02-20 23:37:19 +0000
commitec9a4ce19e6f1a6c760633bcc8826d47cba27f22 (patch)
tree9ebfc9447b73ecbaa866e75fea5c17896e9a45bb /compiler/rustc_interface/src/errors.rs
parentc5283576ec18937d98889679a54aa8f2dee2b875 (diff)
downloadrust-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/errors.rs')
0 files changed, 0 insertions, 0 deletions