add std::panic::abort_unwind
This commit is contained in:
parent
de66d3aa2b
commit
7e7ccb25b4
@ -283,6 +283,9 @@ impl<K, V, S> UnwindSafe for collections::HashMap<K, V, S>
|
||||
{
|
||||
}
|
||||
|
||||
#[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