Skip to content

Commit b259473

Browse files
mark-i-mtshepang
authored andcommitted
fix line lengths
1 parent 9bb3872 commit b259473

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/panic-implementation.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ unsafe { panic_impl(&pi) }
2424

2525
Actually resolving this goes through several layers of indirection:
2626

27-
1. In `compiler/rustc_middle/src/middle/weak_lang_items.rs`, `panic_impl` is declared as 'weak lang item',
28-
with the symbol `rust_begin_unwind`. This is used in `rustc_typeck/src/collect.rs`
29-
to set the actual symbol name to `rust_begin_unwind`.
27+
1. In `compiler/rustc_middle/src/middle/weak_lang_items.rs`, `panic_impl` is
28+
declared as 'weak lang item', with the symbol `rust_begin_unwind`. This is
29+
used in `rustc_typeck/src/collect.rs` to set the actual symbol name to
30+
`rust_begin_unwind`.
3031

3132
Note that `panic_impl` is declared in an `extern "Rust"` block,
3233
which means that core will attempt to call a foreign symbol called `rust_begin_unwind`

0 commit comments

Comments
 (0)