Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanrfrazier committed Jul 12, 2023
1 parent d969986 commit 37e5e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sparrow-instructions/src/evaluators/map/get.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use std::marker::PhantomData;
use std::sync::Arc;


use arrow::array::{Array, ArrayRef, PrimitiveArray, StringArray};
use arrow::datatypes::{ArrowPrimitiveType, DataType};
use itertools::Itertools;
Expand Down Expand Up @@ -115,6 +114,7 @@ where
})
.try_collect()?;

// SAFETY: `map` is a trusted length iterator
unsafe { PrimitiveArray::from_trusted_len_iter(values.iter()) }
};

Expand Down

0 comments on commit 37e5e6c

Please sign in to comment.