Skip to content

Commit

Permalink
Merge pull request #534 from matthew-russo/fix-clippy
Browse files Browse the repository at this point in the history
[Fix] add clippy allow in new panic-hook scaffolding
  • Loading branch information
rexmas authored Dec 15, 2024
2 parents b94bc78 + 4548c17 commit c8a14b7
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 c8a14b7

Please sign in to comment.