review: fix nits and move panic safety tests to the correct place
This commit is contained in:
parent
5be843fc54
commit
a61b9638bb
8 changed files with 23 additions and 24 deletions
|
@ -411,3 +411,6 @@ pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
|
|||
pub fn resume_unwind(payload: Box<dyn Any + Send>) -> ! {
|
||||
panicking::rust_panic_without_hook(payload)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue