Skip to content

Commit 143e4c4

Browse files
committed
Fix deprecation version.
1 parent c6749ae commit 143e4c4

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
@@ -80,7 +80,7 @@ impl<'a> PanicInfo<'a> {
8080
///
8181
/// [`std::panic::PanicHookInfo`]: ../../std/panic/struct.PanicHookInfo.html
8282
/// [`std::panic::PanicHookInfo::payload`]: ../../std/panic/struct.PanicHookInfo.html#method.payload
83-
#[deprecated(since = "1.74.0", note = "this never returns anything useful")]
83+
#[deprecated(since = "1.77.0", note = "this never returns anything useful")]
8484
#[stable(feature = "panic_hooks", since = "1.10.0")]
8585
#[allow(deprecated, deprecated_in_future)]
8686
pub fn payload(&self) -> &(dyn crate::any::Any + Send) {

0 commit comments

Comments
 (0)