From 4a761a59556c9357ef9cf24dcd395dddeabcb5cb Mon Sep 17 00:00:00 2001 From: Andrei Baltariu Date: Wed, 8 Jan 2025 12:32:29 +0200 Subject: [PATCH] Clippy fix Signed-off-by: Andrei Baltariu --- enshrine-esdt-safe/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enshrine-esdt-safe/src/lib.rs b/enshrine-esdt-safe/src/lib.rs index 1d1ee725..bdc9c7ed 100644 --- a/enshrine-esdt-safe/src/lib.rs +++ b/enshrine-esdt-safe/src/lib.rs @@ -61,7 +61,7 @@ pub trait EnshrineEsdtSafe: self.initiator_address().set(caller); self.config() - .set(opt_config.unwrap_or_else(|| BridgeConfig::default_config())); + .set(opt_config.unwrap_or_else(BridgeConfig::default_config)); } #[only_owner]