Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
pub try_push_valid
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Oct 8, 2021
1 parent 8a7f1d7 commit bdf8139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array/list/mutable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl<O: Offset, M: MutableArray> MutableListArray<O, M> {
}

#[inline]
fn try_push_valid(&mut self) -> Result<()> {
pub fn try_push_valid(&mut self) -> Result<()> {
let size = self.values.len();
let size = O::from_usize(size).ok_or(ArrowError::KeyOverflowError)?; // todo: make this error
assert!(size >= *self.offsets.last().unwrap());
Expand Down

0 comments on commit bdf8139

Please sign in to comment.