File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ pub fn rust_begin_panic(info: &PanicInfo<'_>) -> ! {
46
46
The special ` panic_handler ` attribute is resolved via ` src/librustc/middle/lang_items ` .
47
47
The ` extract ` function converts the ` panic_handler ` attribute to a ` panic_impl ` lang item.
48
48
49
- Now, we have a matching ` panic_impl ` lang item in the ` libstd ` . This function goes
49
+ Now, we have a matching ` panic_handler ` lang item in the ` libstd ` . This function goes
50
50
through the same process as the ` extern { fn panic_impl } ` definition in ` libcore ` , ending
51
51
up with a symbol name of ` rust_begin_unwind ` . At link time, the symbol refernce in ` libcore `
52
52
will be resolved to the definition of ` libstd ` (the function called ` rust_begin_panic ` in the
You can’t perform that action at this time.
0 commit comments