Updated to comply with new clippy formatting rules (#2336)

## Issue Addressed

The latest version of Rust has new clippy rules & the codebase isn't up to date with them.

## Proposed Changes

Small formatting changes that clippy tells me are functionally equivalent
This commit is contained in:
ethDreamer
2021-05-10 00:53:09 +00:00
parent bacc38c3da
commit cb47388ad7
14 changed files with 26 additions and 30 deletions

View File

@@ -62,8 +62,8 @@ impl GanacheInstance {
child.stdout = Some(reader.into_inner());
Ok(Self {
child,
port,
child,
web3,
network_id,
chain_id,

View File

@@ -104,7 +104,7 @@ impl DepositContract {
})?;
Contract::from_json(web3.clone().eth(), address, ABI)
.map_err(|e| format!("Failed to init contract: {:?}", e))
.map(move |contract| Self { contract, web3 })
.map(move |contract| Self { web3, contract })
}
/// The deposit contract's address in `0x00ab...` format.

View File

@@ -83,8 +83,8 @@ impl ExitTest {
TestVector {
title,
block,
pre_state,
block,
post_state,
error,
}