Fix clippy lints, small typos

This commit is contained in:
Paul Hauner
2019-02-24 18:52:12 +13:00
parent c49f425fe8
commit ab10cbbdb5
3 changed files with 11 additions and 17 deletions

View File

@@ -658,7 +658,6 @@ fn winning_root(
continue;
}
// TODO: `cargo fmt` makes this rather ugly; tidy up.
let attesting_validator_indices = attestations
.iter()
.try_fold::<_, _, Result<_, BeaconStateError>>(vec![], |mut acc, a| {