From f1dca793d887e138752a8c387a7593a9c8e8c91b Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Thu, 6 Jun 2024 09:45:53 -0700 Subject: [PATCH] Update cmd/soroban-cli/src/commands/contract/deploy/wasm.rs Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> --- cmd/soroban-cli/src/commands/contract/deploy/wasm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs b/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs index 8da3f71ff..859ffa358 100644 --- a/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs +++ b/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs @@ -152,7 +152,7 @@ impl Cmd { } fn alias(&self) -> String { - self.alias.as_ref().map(Clone::clone).unwrap_or_default() + self.alias.clone().unwrap_or_default() } fn alias_path(&self) -> Result {