File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,9 @@ use crate::thread::Result;
1414///
1515/// `PanicInfo` structure is passed to a panic hook set by the [`set_hook`] function.
1616///
17- /// [`set_hook`]: ../../std/panic/fn.set_hook.html
18- ///
1917/// There two `PanicInfo` types:
2018/// - [`core::panic::PanicInfo`], which is used as an argument to a `#[panic_handler]` in `#![no_std]` programs.
21- /// - `std::panic::PanicInfo`, which is used as an argument to a panic hook set by [`std::panic:: set_hook`].
19+ /// - `std::panic::PanicInfo`, which is used as an argument to a panic hook set by [`set_hook`].
2220///
2321/// This is the second one.
2422///
@@ -35,6 +33,7 @@ use crate::thread::Result;
3533/// ```
3634///
3735/// [`core::panic::PanicInfo`]: ../../core/panic/struct.PanicInfo.html
36+ /// [`set_hook`]: ../../std/panic/fn.set_hook.html
3837#[ stable( feature = "panic_hooks" , since = "1.10.0" ) ]
3938#[ derive( Debug ) ]
4039pub struct PanicInfo < ' a > {
You can’t perform that action at this time.
0 commit comments