From ca3aa82f4e3ac2f0b6819b89032207a32e66c027 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Wed, 12 Dec 2018 19:22:52 -0800 Subject: [PATCH] rustfmt changes --- beacon_chain/validator_shuffling/src/shuffle.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/beacon_chain/validator_shuffling/src/shuffle.rs b/beacon_chain/validator_shuffling/src/shuffle.rs index 17d3d6420..577668a8f 100644 --- a/beacon_chain/validator_shuffling/src/shuffle.rs +++ b/beacon_chain/validator_shuffling/src/shuffle.rs @@ -96,8 +96,10 @@ fn generate_cycle( .map(|(j, shard_indices)| ShardAndCommittee { shard: ((shard_start + j) % shard_count) as u16, committee: shard_indices.to_vec(), - }).collect() - }).collect(); + }) + .collect() + }) + .collect(); Ok(cycle) }