소스 검색

Allow static_mut_refs

Jubilee Young 1 년 전
부모
커밋
5718f01f8d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/unwinder/find_fde/registry.rs

+ 1 - 1
src/unwinder/find_fde/registry.rs

@@ -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) }
             }