Skip to content

Commit 186945f

Browse files
committed
fix check
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
1 parent 2a42950 commit 186945f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common/src/array/stream_chunk.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,9 @@ impl Default for OpRowMutRef<'_> {
526526
static mut DUMMY_CHUNK_MUT: LazyLock<StreamChunkMut> =
527527
LazyLock::new(|| StreamChunk::default().into());
528528

529+
#[allow(clippy::deref_addrof)] // false positive
529530
OpRowMutRef {
530-
c: unsafe { &mut *&raw mut DUMMY_CHUNK_MUT },
531+
c: unsafe { &mut *(&raw mut DUMMY_CHUNK_MUT) },
531532
i: 0,
532533
}
533534
}

0 commit comments

Comments
 (0)