Commit 66dd74c
authored
fix: deprecation warning in panic hook (#272)
The patch fixes this warning:
warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
--> /home/runner/work/StarlingMonkey/StarlingMonkey/crates/rust-hooks/src/lib.rs:17:17
|
17 | use std::panic::PanicInfo as PanicHookInfo;
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
--> /home/runner/work/StarlingMonkey/StarlingMonkey/crates/rust-hooks/src/lib.rs:73:22
|
73 | fn panic_hook(info: &PanicHookInfo) {
| ^^^^^^^^^^^^^
warning: `rust-hooks` (lib) generated 2 warnings1 parent d360913 commit 66dd74c
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
| |||
0 commit comments