Skip to content

Commit

Permalink
[Fix] add clippy allow in new panic-hook scaffolding
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-russo committed Dec 9, 2024
1 parent f149b33 commit 4548c17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proptest/src/test_runner/scoped_panic_hook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ mod internal {
return;
}

#[allow(static_mut_refs)]
if let Some(hook) = unsafe { DEFAULT_HOOK.as_ref() } {
(hook)(info);
}
Expand Down

0 comments on commit 4548c17

Please sign in to comment.