diff --git a/internals/src/array_vec.rs b/internals/src/array_vec.rs index 17dddd37..40e54f4f 100644 --- a/internals/src/array_vec.rs +++ b/internals/src/array_vec.rs @@ -95,6 +95,10 @@ mod safety_boundary { } } +impl Default for ArrayVec { + fn default() -> Self { Self::new() } +} + /// Clones the value *faster* than using `Copy`. /// /// Because we avoid copying the uninitialized part of the array this copies the value faster than