Skip to content

Commit 7ae9432

Browse files
key262yekyouknowone
authored andcommitted
Change deprecated type PanicInfo to PanicHookInfo
1 parent edb7abd commit 7ae9432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wasm/lib/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub(crate) use vm_class::weak_vm;
1414
use wasm_bindgen::prelude::*;
1515

1616
/// Sets error info on the window object, and prints the backtrace to console
17-
pub fn panic_hook(info: &panic::PanicInfo) {
17+
pub fn panic_hook(info: &panic::PanicHookInfo) {
1818
// If something errors, just ignore it; we don't want to panic in the panic hook
1919
let try_set_info = || {
2020
let msg = &info.to_string();

0 commit comments

Comments
 (0)