mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Beta compiler fixes (#5543)
* remove duplicate imports in gossip tests. get rid of duplicate trait bound locations * more double import fixes * cargo fmt
This commit is contained in:
@@ -721,7 +721,7 @@ impl<E: EthSpec> OperationPool<E> {
|
||||
}
|
||||
|
||||
/// Filter up to a maximum number of operations out of an iterator.
|
||||
fn filter_limit_operations<'a, T: 'a, V: 'a, I, F, G>(
|
||||
fn filter_limit_operations<'a, T, V: 'a, I, F, G>(
|
||||
operations: I,
|
||||
filter: F,
|
||||
mapping: G,
|
||||
@@ -731,7 +731,7 @@ where
|
||||
I: IntoIterator<Item = &'a T>,
|
||||
F: Fn(&T) -> bool,
|
||||
G: Fn(&T) -> V,
|
||||
T: Clone,
|
||||
T: Clone + 'a,
|
||||
{
|
||||
operations
|
||||
.into_iter()
|
||||
|
||||
Reference in New Issue
Block a user