diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-02-21 14:19:59 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-21 14:19:59 +0530 |
| commit | e781a6ff3b39b0baff6d1bae6a2422cc39cb62d8 (patch) | |
| tree | 6b87cd40a009165b309d71c737a9a4368cf50ea7 /compiler/rustc_interface/src | |
| parent | 4dea3a295f99f166472ddec78ed9d590900436ff (diff) | |
| parent | ec9a4ce19e6f1a6c760633bcc8826d47cba27f22 (diff) | |
| download | rust-e781a6ff3b39b0baff6d1bae6a2422cc39cb62d8.tar.gz rust-e781a6ff3b39b0baff6d1bae6a2422cc39cb62d8.zip | |
Rollup merge of #108105 - majaha:patch-1, r=cuviper
Explain the default panic hook better This changes the documentation of `std::panic::set_hook` and `take_hook` to 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. I also reworded a few things for clarity.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
