separate link target from normal content

This commit is contained in:
Tshepang Mbambo 2024-02-08 22:23:50 +02:00 committed by León Orell Valerian Liehr
parent 5db009b4f0
commit 2d723b72d2
1 changed files with 5 additions and 3 deletions

View File

@ -107,7 +107,9 @@ responsible for unwinding the stack, running any 'landing pads' associated
with each frame (currently, running destructors), and transferring control with each frame (currently, running destructors), and transferring control
to the `catch_unwind` frame. to the `catch_unwind` frame.
Note that all panics either abort the process or get caught by some call to Note that all panics either abort the process or get caught by some call to `catch_unwind`.
`catch_unwind`. In particular, in std's [runtime In particular, in std's [runtime service],
service](https://github.com/rust-lang/rust/blob/master/library/std/src/rt.rs),
the call to the user-provided `main` function is wrapped in `catch_unwind`. the call to the user-provided `main` function is wrapped in `catch_unwind`.
[runtime service]: https://github.com/rust-lang/rust/blob/master/library/std/src/rt.rs