From 7005234fd1f4b1c15637623286269521c4098460 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 4 Jun 2019 09:38:13 +1000 Subject: [PATCH] Run rust fmt --- eth2/fork_choice/tests/tests.rs | 2 +- validator_client/src/error.rs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/eth2/fork_choice/tests/tests.rs b/eth2/fork_choice/tests/tests.rs index a7d2ec7aa..9270571ca 100644 --- a/eth2/fork_choice/tests/tests.rs +++ b/eth2/fork_choice/tests/tests.rs @@ -196,7 +196,7 @@ fn load_test_cases_from_yaml(file_path: &str) -> Vec { fn setup_inital_state( // fork_choice_algo: &ForkChoiceAlgorithm, - num_validators: usize, + num_validators: usize ) -> (T, Arc, Hash256) where T: ForkChoice, diff --git a/validator_client/src/error.rs b/validator_client/src/error.rs index 7740c4f2b..97500f900 100644 --- a/validator_client/src/error.rs +++ b/validator_client/src/error.rs @@ -1,8 +1,6 @@ use slot_clock; -use error_chain::{ - error_chain -}; +use error_chain::error_chain; error_chain! { links { }