Skip to content

Commit

Permalink
simplify copied
Browse files Browse the repository at this point in the history
  • Loading branch information
c-peters committed Aug 24, 2023
1 parent 51d1917 commit 7ea08a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl<T: NativeType> FixedSizeListBuilder for FixedSizeListNumericBuilder<T> {
.downcast_ref::<PrimitiveArray<T>>()
.ok_or_else(|| polars_err!(ComputeError : "failed to downcast array"))?;

Ok(inner.try_push(Some(arr.iter().map(|x| x.copied())))?)
Ok(inner.try_push(Some(arr.iter().copied()))?)
}

#[inline]
Expand Down

0 comments on commit 7ea08a1

Please sign in to comment.