From 03421cc2f102c092bab229e614e3e29fc063847d Mon Sep 17 00:00:00 2001 From: oldremez <83083413+oldremez@users.noreply.github.com> Date: Thu, 13 Apr 2023 19:39:48 +0300 Subject: [PATCH] post-review clippy --- .../pre-propose/cwd-pre-propose-single-overrule/src/contract.rs | 2 +- contracts/dao/proposal/cwd-proposal-single/src/testing/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/dao/pre-propose/cwd-pre-propose-single-overrule/src/contract.rs b/contracts/dao/pre-propose/cwd-pre-propose-single-overrule/src/contract.rs index b384bdee..842710ed 100644 --- a/contracts/dao/pre-propose/cwd-pre-propose-single-overrule/src/contract.rs +++ b/contracts/dao/pre-propose/cwd-pre-propose-single-overrule/src/contract.rs @@ -218,7 +218,7 @@ fn is_subdao_legit(deps: &DepsMut, subdao_core: &Addr) -> Result = deps.querier.query_wasm_smart( - main_dao.clone(), + main_dao, &MainDaoQueryMsg::GetSubDao { address: subdao_core.to_string(), }, diff --git a/contracts/dao/proposal/cwd-proposal-single/src/testing/tests.rs b/contracts/dao/proposal/cwd-proposal-single/src/testing/tests.rs index 625f6815..c2ede878 100644 --- a/contracts/dao/proposal/cwd-proposal-single/src/testing/tests.rs +++ b/contracts/dao/proposal/cwd-proposal-single/src/testing/tests.rs @@ -1409,7 +1409,7 @@ fn test_subdao_queries() { let res: Vec = app .wrap() .query_wasm_smart( - core_addr.clone(), + core_addr, &DaoQueryMsg::ListSubDaos { start_after: None, limit: None,