Clarify doc comment.

This commit is contained in:
Mara Bos 2024-06-12 13:15:02 +02:00
parent 02c7a5921e
commit cae18fa7b0

View File

@ -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.
///