Implement Default for Vec

This commit is contained in:
Felix Stegmaier 2019-02-10 13:22:54 +01:00
parent 845257cecf
commit 0f7a519475

View File

@ -257,6 +257,15 @@ where
}
}
impl<T, N> Default for Vec<T, N>
where
N: ArrayLength<T>,
{
fn default() -> Self {
Self::new()
}
}
impl<T, N> fmt::Debug for Vec<T, N>
where
T: fmt::Debug,