parent
ddf011d773
commit
e1269ff688
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ pub fn take_hook() -> Box<Fn(&PanicInfo) + 'static + Sync + Send> {
|
|||
|
||||
match hook {
|
||||
Hook::Default => Box::new(default_hook),
|
||||
Hook::Custom(ptr) => {Box::from_raw(ptr)} // FIXME #30530
|
||||
Hook::Custom(ptr) => Box::from_raw(ptr),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue