orx_split_vec/new_split_vec/
default.rs

1use crate::{Growth, SplitVec};
2
3impl<T, G> Default for SplitVec<T, G>
4where
5    G: Growth + Default,
6{
7    /// Creates an empty split vector with the default `FragmentGrowth` strategy.
8    fn default() -> Self {
9        Self::with_growth(G::default())
10    }
11}