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 fbba196 commit 8ecc65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-pyarrow-integration-testing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn double(array: &PyAny, py: Python) -> PyResult<PyObject> {
let array = array.as_any().downcast_ref::<Int64Array>().ok_or_else(|| {
PyO3ArrowError::ArrowError(ArrowError::ParseError("Expects an int64".to_string()))
})?;
let array = kernels::arithmetic::add(&array, &array).map_err(PyO3ArrowError::from)?;
let array = kernels::arithmetic::add(array, array).map_err(PyO3ArrowError::from)?;

// export
array.to_pyarrow(py)
Expand Down

0 comments on commit 8ecc65c

Please sign in to comment.