diff --git a/clvm-traits/src/lib.rs b/clvm-traits/src/lib.rs index 52a598fc0..6673d3484 100644 --- a/clvm-traits/src/lib.rs +++ b/clvm-traits/src/lib.rs @@ -45,7 +45,7 @@ pub mod tests { impl TestAllocator { pub fn new() -> Self { - TestAllocator { atoms: vec![] } + TestAllocator::default() } fn new_atom(&mut self, buf: &[u8]) -> TestNode {