Skip to content

Commit

Permalink
Mark GenericByteArray::new_unchecked unsafe (#4584)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold authored Jul 30, 2023
1 parent 18385e5 commit a310056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-array/src/array/byte_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl<T: ByteArrayType> GenericByteArray<T> {
/// # Safety
///
/// Safe if [`Self::try_new`] would not error
pub fn new_unchecked(
pub unsafe fn new_unchecked(
offsets: OffsetBuffer<T::Offset>,
values: Buffer,
nulls: Option<NullBuffer>,
Expand Down

0 comments on commit a310056

Please sign in to comment.