Skip to content

Commit

Permalink
Fix deprecated version.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Jun 12, 2024
1 parent bc5e618 commit 3acb41f
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 @@ -79,7 +79,7 @@ impl<'a> PanicInfo<'a> {
///
/// [`std::panic::PanicHookInfo`]: ../../std/panic/struct.PanicHookInfo.html
/// [`std::panic::PanicHookInfo::payload`]: ../../std/panic/struct.PanicHookInfo.html#method.payload
#[deprecated(since = "CURRENT_RUSTC_VERSION", note = "this never returns anything useful")]
#[deprecated(since = "1.81.0", note = "this never returns anything useful")]
#[stable(feature = "panic_hooks", since = "1.10.0")]
#[allow(deprecated, deprecated_in_future)]
pub fn payload(&self) -> &(dyn crate::any::Any + Send) {
Expand Down

0 comments on commit 3acb41f

Please sign in to comment.