Skip to content

Commit

Permalink
Allow static_mut_refs
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee authored and nbdd0121 committed Jun 12, 2024
1 parent d7cd46e commit 5718f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unwinder/find_fde/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ unsafe fn lock_global_state() -> impl ops::DerefMut<Target = GlobalState> {
impl ops::Deref for LockGuard {
type Target = GlobalState;

#[allow(static_mut_ref)]
#[allow(static_mut_refs)]
fn deref(&self) -> &GlobalState {
unsafe { &*core::ptr::addr_of!(STATE) }
}
Expand Down

0 comments on commit 5718f01

Please sign in to comment.