Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikkon committed Sep 29, 2024
1 parent fb4ac3a commit f15f075
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arrow-array/src/array/list_view_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ impl<OffsetSize: OffsetSizeTrait> GenericListViewArray<OffsetSize> {
}

/// Returns ith value of this list view array.
/// # Panics
/// Panics if the index is out of bounds
pub fn value(&self, i: usize) -> ArrayRef {
let offset = self.value_offsets()[i].as_usize();
let length = self.value_sizes()[i].as_usize();
Expand Down

0 comments on commit f15f075

Please sign in to comment.