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

Commit

Permalink
Added mu_values to MutableFixedList (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao authored Mar 5, 2022
1 parent 1b7e8ee commit 972c6f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/array/fixed_size_list/mutable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ impl<M: MutableArray> MutableFixedSizeListArray<M> {
&self.values
}

/// The values as a mutable reference
pub fn mut_values(&mut self) -> &mut M {
&mut self.values
}

fn init_validity(&mut self) {
let len = self.values.len() / self.size;

Expand Down

0 comments on commit 972c6f8

Please sign in to comment.