Skip to content

Commit

Permalink
clippy: type_complexity (solana-labs#4396)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jan 10, 2025
1 parent b70cac3 commit 03499e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ledger/src/blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ impl Blockstore {
}

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

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

#[allow(clippy::type_complexity)]
pub fn slot_coding_iterator(
&self,
slot: Slot,
Expand Down

0 comments on commit 03499e7

Please sign in to comment.