Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
srh committed Nov 4, 2024
1 parent a77a88a commit 20b2ddf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arrow/src/compute/kernels/take.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<IndexType>` in order to work with the existing `take`
// function.
Expand Down Expand Up @@ -343,8 +342,9 @@ pub fn take_arrays<IndexType>(
indices: &PrimitiveArray<IndexType>,
options: Option<TakeOptions>,
) -> std::result::Result<Vec<ArrayRef>, ArrowError>
where IndexType: ArrowNumericType,
IndexType::Native: num::ToPrimitive,
where
IndexType: ArrowNumericType,
IndexType::Native: num::ToPrimitive,
{
arrays
.iter()
Expand Down

0 comments on commit 20b2ddf

Please sign in to comment.