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

Commit

Permalink
Implement MutableArray::reserve
Browse files Browse the repository at this point in the history
  • Loading branch information
hohav committed Aug 5, 2022
1 parent c27ce7e commit b6b7540
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/array/struct_/mutable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,8 @@ impl MutableArray for MutableStructArray {
fn shrink_to_fit(&mut self) {
self.shrink_to_fit()
}

fn reserve(&mut self, additional: usize) {
self.reserve(additional)
}
}

0 comments on commit b6b7540

Please sign in to comment.