Skip to content

Commit 590cdd2

Browse files
committed
chore: Fix lints
1 parent 10c1a7d commit 590cdd2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

consensus/src/marshal/ingress/coding/application.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ use tracing::{debug, info, warn};
1717

1818
/// An [Application] adapter that handles erasure coding and shard verification for consensus.
1919
#[derive(Clone)]
20+
#[allow(clippy::type_complexity)]
2021
pub struct CodingAdapter<E, A, V, B, S, P, Z>
2122
where
2223
E: Rng + Spawner + Metrics + Clock,
@@ -120,6 +121,8 @@ where
120121
.supervisor
121122
.is_participant(context.round, &self.identity)
122123
.expect("failed to get self index among participants");
124+
125+
#[allow(clippy::async_yields_async)]
123126
self.context
124127
.with_label("verify")
125128
.spawn(move |_| async move { marshal.verify_shard(payload, self_index as usize).await })

0 commit comments

Comments
 (0)