Skip to content

Commit

Permalink
separate link target from normal content
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang authored and fmease committed Feb 11, 2024
1 parent 2c8856a commit 1f30cc7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/panic-implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ responsible for unwinding the stack, running any 'landing pads' associated
with each frame (currently, running destructors), and transferring control
to the `catch_unwind` frame.

Note that all panics either abort the process or get caught by some call to
`catch_unwind`. In particular, in std's [runtime
service](https://github.com/rust-lang/rust/blob/master/library/std/src/rt.rs),
Note that all panics either abort the process or get caught by some call to `catch_unwind`.
In particular, in std's [runtime service],
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

0 comments on commit 1f30cc7

Please sign in to comment.