From 734acbc73f146f0c587609c0eb5bb14b8dc095d3 Mon Sep 17 00:00:00 2001 From: BiancaIalangi Date: Fri, 22 Nov 2024 12:21:28 +0200 Subject: [PATCH] clippy fix --- contracts/dn404/tests/setup.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contracts/dn404/tests/setup.rs b/contracts/dn404/tests/setup.rs index 19d152ec..2577de78 100644 --- a/contracts/dn404/tests/setup.rs +++ b/contracts/dn404/tests/setup.rs @@ -31,6 +31,12 @@ pub struct Dn404Setup { pub b_mock: ScenarioWorld, } +impl Default for Dn404Setup { + fn default() -> Self { + Self::new() + } +} + impl Dn404Setup { pub fn new() -> Self { let mut b_mock = world();