diff --git a/src/panic-implementation.md b/src/panic-implementation.md index 20b192a3b3ec9..f358742866719 100644 --- a/src/panic-implementation.md +++ b/src/panic-implementation.md @@ -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