Skip to content

Commit

Permalink
Bug fix (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
suharev7 committed May 16, 2021
1 parent c098abd commit 68d9e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/column/ip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ pub(crate) struct IpColumnData<V: IpVersion> {
impl<V: IpVersion> IpColumnData<V> {
pub fn with_capacity(capacity: usize) -> Self {
Self {
inner: vec![0; capacity * V::size()],
inner: Vec::with_capacity(capacity * V::size()),
phantom: PhantomData,
}
}
Expand Down

0 comments on commit 68d9e55

Please sign in to comment.