Update panic_any feature name.
Co-authored-by: Camelid <camelidcamel@gmail.com>
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user