Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Aug 16, 2021
1 parent ca68520 commit a656da2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arrow-pyarrow-integration-testing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -114,7 +112,7 @@ fn round_trip_record_batch(obj: RecordBatch) -> PyResult<RecordBatch> {
}

#[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))?;
Expand Down

0 comments on commit a656da2

Please sign in to comment.