From eab7b88b157601fc22e66cd65205f49f8e1f2ff6 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Wed, 9 Sep 2020 12:49:13 +1000 Subject: [PATCH] Fix clippy lints --- beacon_node/beacon_chain/src/beacon_chain.rs | 2 +- common/eth2/src/types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_node/beacon_chain/src/beacon_chain.rs b/beacon_node/beacon_chain/src/beacon_chain.rs index 1f69408984f..8f894455a8d 100644 --- a/beacon_node/beacon_chain/src/beacon_chain.rs +++ b/beacon_node/beacon_chain/src/beacon_chain.rs @@ -2036,7 +2036,7 @@ impl BeaconChain { /// /// If the committee for `(head_block_root, shuffling_epoch)` isn't found in the /// `shuffling_cache`, we will read a state from disk and then update the `shuffling_cache`. - pub(crate) fn with_committee_cache<'a, F, R>( + pub(crate) fn with_committee_cache( &self, head_block_root: Hash256, shuffling_epoch: Epoch, diff --git a/common/eth2/src/types.rs b/common/eth2/src/types.rs index 7d6b398eff7..58465d572aa 100644 --- a/common/eth2/src/types.rs +++ b/common/eth2/src/types.rs @@ -330,7 +330,7 @@ impl TryFrom for QueryVec { } string - .split(",") + .split(',') .map(|s| s.parse().map_err(|_| "unable to parse".to_string())) .collect::, String>>() .map(Self)