mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
add std::panic::abort_unwind
This commit is contained in:
parent
de66d3aa2b
commit
7e7ccb25b4
@ -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.
|
||||
///
|
||||
/// This function will return `Ok` with the closure's result if the closure
|
||||
|
Loading…
Reference in New Issue
Block a user