diff --git a/arrow-pyarrow/src/lib.rs b/arrow-pyarrow/src/lib.rs index e2b365070913..15951f8dcfbf 100644 --- a/arrow-pyarrow/src/lib.rs +++ b/arrow-pyarrow/src/lib.rs @@ -633,7 +633,7 @@ impl FromPyObject<'_, '_> for PyArrowType { type Error = PyErr; fn extract(value: Borrowed<'_, '_, PyAny>) -> PyResult { - Ok(Self(T::from_pyarrow_bound(&*value)?)) + Ok(Self(T::from_pyarrow_bound(&value)?)) } }