Skip to content

Commit 2b87d50

Browse files
authored
fix link to payload_as_str (#1402)
1 parent 44157b3 commit 2b87d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2024-09-05-Rust-1.81.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ context (where panics can have an arbitrary payload), while
128128
[`#[panic_handler]`](https://doc.rust-lang.org/nomicon/panic-handler.html) in
129129
`#![no_std]` context (where panics always carry a formatted *message*). Separating
130130
these types allows us to add more useful methods to these types, such as
131-
[`std::panic::PanicHookInfo::payload_as_str()`]() and
131+
[`std::panic::PanicHookInfo::payload_as_str()`](https://doc.rust-lang.org/stable/std/panic/struct.PanicHookInfo.html#method.payload_as_str) and
132132
[`core::panic::PanicInfo::message()`](https://doc.rust-lang.org/stable/core/panic/struct.PanicInfo.html#method.message).
133133

134134
[`std::panic::PanicInfo`]: https://doc.rust-lang.org/stable/std/panic/type.PanicInfo.html

0 commit comments

Comments
 (0)