From 2efbcfe6771a3881793cf8d301fe971f8463df77 Mon Sep 17 00:00:00 2001 From: ilya Date: Thu, 28 Nov 2024 10:26:35 +0000 Subject: [PATCH] Wording --- crates/driver/src/tests/cases/settle.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/driver/src/tests/cases/settle.rs b/crates/driver/src/tests/cases/settle.rs index 636fb29f3b..362d2e8964 100644 --- a/crates/driver/src/tests/cases/settle.rs +++ b/crates/driver/src/tests/cases/settle.rs @@ -154,7 +154,7 @@ async fn discards_excess_settle_requests() { .len(); assert_eq!(unique_solutions_count, solution_ids.len()); - // `collect_vec` is required to execute futures in the same order. + // `collect_vec` is required to receive results in the same order. let results = join_all(solution_ids.iter().map(|id| test.settle(id)).collect_vec()).await; for (index, result) in results.into_iter().enumerate() { @@ -215,8 +215,8 @@ async fn accepts_new_settle_requests_after_timeout() { .len(); assert_eq!(unique_solutions_count, solution_id.len()); - // Send only first 4 settle requests. `collect_vec` is required to execute - // futures in the same order. + // Send only first 4 settle requests. `collect_vec` is required to receive + // results in the same order. let results = join_all( solution_id[..4] .iter()