Skip to content

Commit

Permalink
Clarify doc comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Jun 12, 2024
1 parent 63fe960 commit a239d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/panic/panic_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl<'a> PanicInfo<'a> {

/// Returns the payload associated with the panic.
///
/// On `core::panic::PanicInfo`, this method never returns anything useful.
/// On this type, `core::panic::PanicInfo`, this method never returns anything useful.
/// It only exists because of compatibility with [`std::panic::PanicHookInfo`],
/// which used to be the same type.
///
Expand Down

0 comments on commit a239d5b

Please sign in to comment.