Skip to content

Commit

Permalink
More clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed May 13, 2024
1 parent 3092f95 commit c5bbcc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/consumer/virtual-staking/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ mod tests {
impl VirtualStakingExt for VirtualStakingContract<'_> {
fn quick_inst(&self, deps: DepsMut) {
self.instantiate(InstantiateCtx {
deps: deps,
deps,
env: mock_env(),
info: mock_info("me", &[]),
})
Expand Down Expand Up @@ -1371,7 +1371,7 @@ mod tests {

self.bond(
ExecCtx {
deps: deps,
deps,
env: mock_env(),
info: mock_info("me", &[]),
},
Expand All @@ -1386,7 +1386,7 @@ mod tests {

self.unbond(
ExecCtx {
deps: deps,
deps,
env: mock_env(),
info: mock_info("me", &[]),
},
Expand All @@ -1406,7 +1406,7 @@ mod tests {

self.burn(
ExecCtx {
deps: deps,
deps,
env: mock_env(),
info: mock_info("me", &[]),
},
Expand Down
1 change: 1 addition & 0 deletions contracts/provider/vault/src/multitest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ fn setup_without_local_staking<'app>(
(vault, external)
}

#[allow(clippy::type_complexity)]
fn setup_inner<'app>(
app: &'app App<MtApp>,
owner: &'app str,
Expand Down

0 comments on commit c5bbcc4

Please sign in to comment.