Update panic_any feature name.
Co-authored-by: Camelid <camelidcamel@gmail.com>
This commit is contained in:
parent
16201da6a4
commit
a9d334d386
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ pub use core::panic::{Location, PanicInfo};
|
||||||
/// accessed later using [`PanicInfo::payload`].
|
/// accessed later using [`PanicInfo::payload`].
|
||||||
///
|
///
|
||||||
/// See the [`panic!`] macro for more information about panicking.
|
/// See the [`panic!`] macro for more information about panicking.
|
||||||
#[unstable(feature = "panic_box", issue = "none")]
|
#[unstable(feature = "panic_any", issue = "none")]
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn panic_any<M: Any + Send>(msg: M) -> ! {
|
pub fn panic_any<M: Any + Send>(msg: M) -> ! {
|
||||||
crate::panicking::begin_panic(msg);
|
crate::panicking::begin_panic(msg);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue