From 506abf60f2c3130ce7d0813580df902aed0554b3 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Mon, 29 Jul 2024 16:41:26 -0600 Subject: [PATCH] fix clippy lints --- pyo3-ffi/src/compat.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyo3-ffi/src/compat.rs b/pyo3-ffi/src/compat.rs index 6dd27b6f67a..591e3724c9d 100644 --- a/pyo3-ffi/src/compat.rs +++ b/pyo3-ffi/src/compat.rs @@ -9,7 +9,9 @@ // Unless otherwise noted, the compatibility shims are adapted from // the pythoncapi-compat project: https://github.com/python/pythoncapi-compat +#[cfg(not(Py_3_13))] use crate::object::PyObject; +#[cfg(not(Py_3_13))] use std::os::raw::c_int; #[cfg_attr(docsrs, doc(cfg(Py_3_13)))]