Skip to content

Commit

Permalink
Fix Clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul committed Oct 1, 2020
1 parent f345d5d commit 07f93ba
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ fn metadata(genesis_validators_root: Hash256) -> InterchangeMetadata {
}
}

#[allow(clippy::type_complexity)]
fn interchange(data: Vec<(usize, Vec<u64>, Vec<(u64, u64)>)>) -> Interchange {
let data = data
.into_iter()
Expand Down Expand Up @@ -75,8 +76,8 @@ fn main() {
"single_validator_single_block_and_attestation",
interchange(vec![(0, vec![32], vec![(15, 20)])]),
)
.with_blocks(single_validator_blocks.clone())
.with_attestations(single_validator_attestations.clone()),
.with_blocks(single_validator_blocks)
.with_attestations(single_validator_attestations),
TestCase::new(
"single_validator_genesis_attestation",
interchange(vec![(0, vec![], vec![(0, 0)])]),
Expand Down

0 comments on commit 07f93ba

Please sign in to comment.