allow dead_code in IPowModulo
This commit is contained in:
parent
1520b058e8
commit
ab699a0727
|
@ -21,7 +21,7 @@ pub struct IPowModulo(*mut ffi::PyObject);
|
||||||
/// Python 3.7 and older - __ipow__ does not have modulo argument correctly populated.
|
/// Python 3.7 and older - __ipow__ does not have modulo argument correctly populated.
|
||||||
#[cfg(not(Py_3_8))]
|
#[cfg(not(Py_3_8))]
|
||||||
#[repr(transparent)]
|
#[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
|
/// Helper to use as pymethod ffi definition
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
|
|
Loading…
Reference in a new issue