Skip to content

Commit 03499e7

Browse files
authored
clippy: type_complexity (solana-labs#4396)
1 parent b70cac3 commit 03499e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ledger/src/blockstore.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,7 @@ impl Blockstore {
673673
}
674674

675675
#[cfg(feature = "dev-context-only-utils")]
676+
#[allow(clippy::type_complexity)]
676677
pub fn iterator_cf(
677678
&self,
678679
cf_name: &str,
@@ -682,6 +683,7 @@ impl Blockstore {
682683
Ok(iterator.map(|pair| pair.unwrap()))
683684
}
684685

686+
#[allow(clippy::type_complexity)]
685687
pub fn slot_data_iterator(
686688
&self,
687689
slot: Slot,
@@ -694,6 +696,7 @@ impl Blockstore {
694696
Ok(slot_iterator.take_while(move |((shred_slot, _), _)| *shred_slot == slot))
695697
}
696698

699+
#[allow(clippy::type_complexity)]
697700
pub fn slot_coding_iterator(
698701
&self,
699702
slot: Slot,

0 commit comments

Comments
 (0)