diff --git a/src/base/vec_storage.rs b/src/base/vec_storage.rs index ac353428..5b29b6a3 100644 --- a/src/base/vec_storage.rs +++ b/src/base/vec_storage.rs @@ -34,7 +34,7 @@ pub struct VecStorage { impl Default for VecStorage { fn default() -> Self { Self { - data: vec![], + data: Vec::new(), nrows: Dyn::from_usize(0), ncols: Dyn::from_usize(0), } @@ -44,7 +44,7 @@ impl Default for VecStorage { impl Default for VecStorage { fn default() -> Self { Self { - data: vec![], + data: Vec::new(), nrows: R::name(), ncols: Dyn::from_usize(0), } @@ -54,7 +54,7 @@ impl Default for VecStorage { impl Default for VecStorage { fn default() -> Self { Self { - data: vec![], + data: Vec::new(), nrows: Dyn::from_usize(0), ncols: C::name(), }