Skip to content

Commit 2490dfe

Browse files
committed
Silence clippy false positives
1 parent 4a3dbaf commit 2490dfe

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
// warnings at all.
6767
#![cfg_attr(docsrs, feature(doc_cfg))]
6868
#![cfg_attr(not(send), allow(clippy::arc_with_non_send_sync))]
69+
#![allow(clippy::ptr_eq)]
6970

7071
#[macro_use]
7172
mod macros;

src/memory.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ impl MemoryState {
3030
#[cfg(not(feature = "luau"))]
3131
#[rustversion::since(1.85)]
3232
#[inline]
33+
#[allow(clippy::incompatible_msrv)]
3334
pub(crate) unsafe fn get(state: *mut ffi::lua_State) -> *mut Self {
3435
let mut mem_state = ptr::null_mut();
3536
if !ptr::fn_addr_eq(ffi::lua_getallocf(state, &mut mem_state), ALLOCATOR) {

0 commit comments

Comments
 (0)