allow dead_code in `IPowModulo`

This commit is contained in:
David Hewitt 2024-01-12 15:55:21 +00:00
parent 1520b058e8
commit ab699a0727
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ pub struct IPowModulo(*mut ffi::PyObject);
/// Python 3.7 and older - __ipow__ does not have modulo argument correctly populated.
#[cfg(not(Py_3_8))]
#[repr(transparent)]
pub struct IPowModulo(std::mem::MaybeUninit<*mut ffi::PyObject>);
pub struct IPowModulo(#[allow(dead_code)] std::mem::MaybeUninit<*mut ffi::PyObject>);
/// Helper to use as pymethod ffi definition
#[allow(non_camel_case_types)]