add std::panic::abort_unwind
This commit is contained in:
parent
de66d3aa2b
commit
7e7ccb25b4
1 changed files with 3 additions and 0 deletions
|
@ -283,6 +283,9 @@ where
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[unstable(feature = "abort_unwind", issue = "130338")]
|
||||||
|
pub use core::panic::abort_unwind;
|
||||||
|
|
||||||
/// Invokes a closure, capturing the cause of an unwinding panic if one occurs.
|
/// Invokes a closure, capturing the cause of an unwinding panic if one occurs.
|
||||||
///
|
///
|
||||||
/// This function will return `Ok` with the closure's result if the closure
|
/// This function will return `Ok` with the closure's result if the closure
|
||||||
|
|
Loading…
Add table
Reference in a new issue