Skip to content

Commit

Permalink
Fix clippy (#2240)
Browse files Browse the repository at this point in the history
* update async-trait to 0.1.69

* more clippy fixes
  • Loading branch information
svyatonik authored and bkontur committed Jun 12, 2024
1 parent 9702b0e commit 9112b92
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bridges/modules/messages/src/outbound_lane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ mod tests {
3,
&unrewarded_relayers(1..=1)
.into_iter()
.chain(unrewarded_relayers(2..=30).into_iter())
.chain(unrewarded_relayers(3..=3).into_iter())
.chain(unrewarded_relayers(2..=30))
.chain(unrewarded_relayers(3..=3))
.collect(),
),
Err(ReceptionConfirmationError::FailedToConfirmFutureMessages),
Expand All @@ -343,8 +343,8 @@ mod tests {
3,
&unrewarded_relayers(1..=1)
.into_iter()
.chain(unrewarded_relayers(2..=1).into_iter())
.chain(unrewarded_relayers(2..=3).into_iter())
.chain(unrewarded_relayers(2..=1))
.chain(unrewarded_relayers(2..=3))
.collect(),
),
Err(ReceptionConfirmationError::EmptyUnrewardedRelayerEntry),
Expand All @@ -358,8 +358,8 @@ mod tests {
3,
&unrewarded_relayers(1..=1)
.into_iter()
.chain(unrewarded_relayers(3..=3).into_iter())
.chain(unrewarded_relayers(2..=2).into_iter())
.chain(unrewarded_relayers(3..=3))
.chain(unrewarded_relayers(2..=2))
.collect(),
),
Err(ReceptionConfirmationError::NonConsecutiveUnrewardedRelayerEntries),
Expand Down

0 comments on commit 9112b92

Please sign in to comment.