From a656da29f39bc03f32556f04e543f08edc411d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Sz=C5=B1cs?= Date: Mon, 16 Aug 2021 22:11:40 +0200 Subject: [PATCH] Fix clippy warnings --- arrow-pyarrow-integration-testing/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arrow-pyarrow-integration-testing/src/lib.rs b/arrow-pyarrow-integration-testing/src/lib.rs index 2296462cd14a..082a72e9e1ff 100644 --- a/arrow-pyarrow-integration-testing/src/lib.rs +++ b/arrow-pyarrow-integration-testing/src/lib.rs @@ -18,12 +18,10 @@ //! This library demonstrates a minimal usage of Rust's C data interface to pass //! arrays from and to Python. -use std::error; use std::sync::Arc; use pyo3::prelude::*; use pyo3::wrap_pyfunction; -//use libc::uintptr_t; use arrow::array::{ArrayData, ArrayRef, Int64Array}; use arrow::compute::kernels; @@ -114,7 +112,7 @@ fn round_trip_record_batch(obj: RecordBatch) -> PyResult { } #[pymodule] -fn arrow_pyarrow_integration_testing(py: Python, m: &PyModule) -> PyResult<()> { +fn arrow_pyarrow_integration_testing(_py: Python, m: &PyModule) -> PyResult<()> { m.add_wrapped(wrap_pyfunction!(double))?; m.add_wrapped(wrap_pyfunction!(double_py))?; m.add_wrapped(wrap_pyfunction!(substring))?;