Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2f85702

Browse files
committedJun 11, 2024
Mention core's PanicInfo in error.md.
1 parent ad0667f commit 2f85702

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎core/src/error.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ The following are the primary interfaces of the panic system and the
1717
responsibilities they cover:
1818

1919
* [`panic!`] and [`panic_any`] (Constructing, Propagated automatically)
20-
* [`PanicHookInfo`] (Reporting)
21-
* [`set_hook`], [`take_hook`], and [`#[panic_handler]`][panic-handler] (Reporting)
20+
* [`set_hook`], [`take_hook`], and [`PanicHookInfo`] (Reporting)
21+
* [`#[panic_handler]`][panic-handler] and [`PanicInfo`] (Reporting in no_std)
2222
* [`catch_unwind`] and [`resume_unwind`] (Discarding, Propagating)
2323

2424
The following are the primary interfaces of the error system and the
@@ -126,6 +126,7 @@ should be available and executable by the current user".
126126

127127
[`panic_any`]: ../../std/panic/fn.panic_any.html
128128
[`PanicHookInfo`]: ../../std/panic/struct.PanicHookInfo.html
129+
[`PanicInfo`]: crate::panic::PanicInfo
129130
[`catch_unwind`]: ../../std/panic/fn.catch_unwind.html
130131
[`resume_unwind`]: ../../std/panic/fn.resume_unwind.html
131132
[`downcast`]: crate::error::Error

0 commit comments

Comments
 (0)
Failed to load comments.