Skip to content

Commit

Permalink
fix: dependency_on_unit_never_type_fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau committed Aug 12, 2024
1 parent a99c916 commit 6c8b524
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/src/send_and_confirm_transactions_in_parallel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,10 @@ async fn sign_all_messages_and_send<T: Signers + ?Sized>(
});
}
// collect to convert Vec<Result<_>> to Result<Vec<_>>
join_all(futures).await.into_iter().collect::<Result<_>>()?;
join_all(futures)
.await
.into_iter()
.collect::<Result<Vec<()>>>()?;
Ok(())
}

Expand Down

0 comments on commit 6c8b524

Please sign in to comment.