diff --git a/sub/core/src/arrays.rs b/sub/core/src/arrays.rs index f377b80..9eb7877 100644 --- a/sub/core/src/arrays.rs +++ b/sub/core/src/arrays.rs @@ -12,7 +12,7 @@ pub struct FixedVec { impl FixedVec { - pub fn new() -> Self { + pub const fn new() -> Self { unsafe { core::mem::zeroed() } }