Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3acb41f

Browse files
committedJun 12, 2024
Fix deprecated version.
1 parent bc5e618 commit 3acb41f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/src/panic/panic_info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl<'a> PanicInfo<'a> {
7979
///
8080
/// [`std::panic::PanicHookInfo`]: ../../std/panic/struct.PanicHookInfo.html
8181
/// [`std::panic::PanicHookInfo::payload`]: ../../std/panic/struct.PanicHookInfo.html#method.payload
82-
#[deprecated(since = "CURRENT_RUSTC_VERSION", note = "this never returns anything useful")]
82+
#[deprecated(since = "1.81.0", note = "this never returns anything useful")]
8383
#[stable(feature = "panic_hooks", since = "1.10.0")]
8484
#[allow(deprecated, deprecated_in_future)]
8585
pub fn payload(&self) -> &(dyn crate::any::Any + Send) {

0 commit comments

Comments
 (0)
Failed to load comments.