From 7176d26bb8800849466e20fbfdd70fd5731c3313 Mon Sep 17 00:00:00 2001 From: Nicolas Lara Date: Mon, 17 Apr 2023 10:55:59 +0200 Subject: [PATCH] clippy --- contracts/cw20-ics20/src/contract.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/cw20-ics20/src/contract.rs b/contracts/cw20-ics20/src/contract.rs index 4a293f0e0..7c0578cd7 100644 --- a/contracts/cw20-ics20/src/contract.rs +++ b/contracts/cw20-ics20/src/contract.rs @@ -626,7 +626,7 @@ mod test { }; // works with proper funds - let msg = ExecuteMsg::Transfer(transfer.clone()); + let msg = ExecuteMsg::Transfer(transfer); let info = mock_info("foobar", &coins(1234567, "ucosm")); let res = execute(deps.as_mut(), mock_env(), info, msg).unwrap(); assert_eq!(res.messages[0].gas_limit, None);