about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2024-06-12 13:15:02 +0200
committerMara Bos <m-ou.se@m-ou.se>2024-06-12 13:15:10 +0200
commitcae18fa7b0a773e967e5b8ef6fbccdaa7e0b6eed (patch)
tree9c7af72a0f7a334d04cc04d1293349963da7730c
parent02c7a5921e3de5c2b3ecb2e0082c1dafce0729a1 (diff)
downloadrust-cae18fa7b0a773e967e5b8ef6fbccdaa7e0b6eed.tar.gz
rust-cae18fa7b0a773e967e5b8ef6fbccdaa7e0b6eed.zip
Clarify doc comment.
-rw-r--r--library/core/src/panic/panic_info.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/panic/panic_info.rs b/library/core/src/panic/panic_info.rs
index df8f441bf35..a593abc8605 100644
--- a/library/core/src/panic/panic_info.rs
+++ b/library/core/src/panic/panic_info.rs
@@ -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.
     ///