From 932470488a7fdff554bf7ec1362c60e8f7576a81 Mon Sep 17 00:00:00 2001 From: Rigidity Date: Tue, 5 Dec 2023 12:13:30 -0500 Subject: [PATCH] Use default for new --- clvm-traits/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {