Skip to content

Commit 0f0b58d

Browse files
committed
wip
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 38c941a commit 0f0b58d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vortex-vector/src/binaryview/vector.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ impl<T: BinaryViewType> BinaryViewVector<T> {
232232

233233
/// Get the `index` item from the vector as a [u8]
234234
///
235+
/// ## SAFETY
236+
///
235237
/// This function is unsafe since the validity of the vector is ignored.
236238
pub unsafe fn get_ref_unchecked(&self, index: usize) -> &[u8] {
237239
let view = &self.views[index];

0 commit comments

Comments
 (0)