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

Commit

Permalink
Fix MutableArray impl
Browse files Browse the repository at this point in the history
  • Loading branch information
AnIrishDuck committed Oct 13, 2022
1 parent 80ba75f commit 0625928
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/array/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ impl MutableArray for Box<dyn MutableArray> {
fn shrink_to_fit(&mut self) {
self.as_mut().shrink_to_fit();
}

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

macro_rules! general_dyn {
Expand Down

0 comments on commit 0625928

Please sign in to comment.