Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clippy warnings on Rust 1.71 #3477

Merged
merged 1 commit into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -157,7 +157,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 @@ -28,7 +28,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 @@ -24,7 +24,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