Skip to content

Commit

Permalink
Fix clippy warnings on Rust 1.71 (#3477)
Browse files Browse the repository at this point in the history
  • Loading branch information
romac authored and soareschen committed Jul 14, 2023
1 parent c7763f5 commit cd89acd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tools/integration-test/src/mbt/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl TestOverrides for IbcTransferMBT {
},
};

for mut chain_config in config.chains.iter_mut() {
for chain_config in config.chains.iter_mut() {
chain_config.trusting_period = Some(CLIENT_EXPIRY);
}
}
Expand Down
2 changes: 1 addition & 1 deletion tools/integration-test/src/tests/client_expiration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl TestOverrides for ExpirationTestOverrides {
},
};

for mut chain_config in config.chains.iter_mut() {
for chain_config in config.chains.iter_mut() {
chain_config.trusting_period = Some(CLIENT_EXPIRY);
}
}
Expand Down
2 changes: 1 addition & 1 deletion tools/integration-test/src/tests/manual/simulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub struct SimulationTest;

impl TestOverrides for SimulationTest {
fn modify_relayer_config(&self, config: &mut Config) {
for mut chain in config.chains.iter_mut() {
for chain in config.chains.iter_mut() {
chain.max_msg_num = MaxMsgNum::new(MAX_MSGS).unwrap();
}
}
Expand Down
2 changes: 1 addition & 1 deletion tools/integration-test/src/tests/memo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub struct MemoTest {

impl TestOverrides for MemoTest {
fn modify_relayer_config(&self, config: &mut Config) {
for mut chain in config.chains.iter_mut() {
for chain in config.chains.iter_mut() {
chain.memo_prefix = self.memo.clone();
}
}
Expand Down
2 changes: 1 addition & 1 deletion tools/integration-test/src/tests/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ struct PythonTest;

impl TestOverrides for PythonTest {
fn modify_relayer_config(&self, config: &mut Config) {
for mut chain in config.chains.iter_mut() {
for chain in config.chains.iter_mut() {
// Modify the key store type to `Store::Test` so that the wallet
// keys are stored to ~/.hermes/keys so that we can use them
// with external relayer commands.
Expand Down

0 comments on commit cd89acd

Please sign in to comment.