From 20b2ddfffa84622eab5ed0e25fcbd0bf0a847e54 Mon Sep 17 00:00:00 2001 From: Sam Hughes Date: Mon, 4 Nov 2024 13:16:48 -0800 Subject: [PATCH] Fix formatting --- arrow/src/compute/kernels/take.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arrow/src/compute/kernels/take.rs b/arrow/src/compute/kernels/take.rs index 276689a496f..2651c1c6373 100644 --- a/arrow/src/compute/kernels/take.rs +++ b/arrow/src/compute/kernels/take.rs @@ -286,7 +286,6 @@ where } } - // From upstream arrow-rs. But upstream had `indices: &dyn Array` -- we have the generic parameter // IndexType and use `indices: &PrimitiveArray` in order to work with the existing `take` // function. @@ -343,8 +342,9 @@ pub fn take_arrays( indices: &PrimitiveArray, options: Option, ) -> std::result::Result, ArrowError> - where IndexType: ArrowNumericType, - IndexType::Native: num::ToPrimitive, +where + IndexType: ArrowNumericType, + IndexType::Native: num::ToPrimitive, { arrays .iter()