From 646070146e5652ba16c9554f6b6182644026cd06 Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Sun, 12 Nov 2023 22:28:00 -0500 Subject: [PATCH] return --- arrow/src/pyarrow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow/src/pyarrow.rs b/arrow/src/pyarrow.rs index 71e9aa527628..08621d8f2aad 100644 --- a/arrow/src/pyarrow.rs +++ b/arrow/src/pyarrow.rs @@ -264,7 +264,7 @@ impl FromPyArrow for ArrayData { let schema_ptr = unsafe { schema_capsule.reference::() }; let array_ptr = unsafe { array_capsule.reference::() }; - ffi::from_ffi(array_ptr.copy(), schema_ptr).map_err(to_py_err) + return ffi::from_ffi(array_ptr.copy(), schema_ptr).map_err(to_py_err); } validate_class("Array", value)?;