mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Fix/suppress new Clippy warnings introduced in Rust 1.82
This commit is contained in:
@@ -19,7 +19,7 @@ pub fn init() {
|
||||
log::set_logger(&LOGGER).expect("Failed to set logger");
|
||||
log::set_max_level(log::LevelFilter::Trace);
|
||||
|
||||
fn panic_hook(info: &std::panic::PanicInfo<'_>) {
|
||||
fn panic_hook(info: &std::panic::PanicHookInfo<'_>) {
|
||||
// Skip if we have already panicked
|
||||
if HAS_CRASHED.with(|cell| cell.replace(true)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user