Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Pack <robstar.pack@gmail.com>
  • Loading branch information
roeap committed Feb 6, 2025
1 parent 2d04413 commit 41030fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernel/src/engine/arrow_expression/in_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ pub(super) fn eval_in_list(
values.into_iter().map(|v| v.map(|v| v.into()))
}

fn to_scalars<'a, T: ArrowPrimitiveType>(
values: &'a PrimitiveArray<T>,
fn to_scalars<T: ArrowPrimitiveType>(
values: &PrimitiveArray<T>,
from: fn(T::Native) -> Scalar,
) -> impl IntoIterator<Item = Option<Scalar>> + 'a {
) -> impl IntoIterator<Item = Option<Scalar>> + '_ {
values.iter().map(move |v| v.map(from))
}

Expand Down

0 comments on commit 41030fc

Please sign in to comment.