From 298c55f14735df895b5c4012003408da5fed6f15 Mon Sep 17 00:00:00 2001 From: 0xffffharry <95022881+0xffffharry@users.noreply.github.com> Date: Thu, 25 Apr 2024 07:02:24 +0000 Subject: [PATCH] test: fix h3 test --- crates/proto/src/h3/h3_client_stream.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/proto/src/h3/h3_client_stream.rs b/crates/proto/src/h3/h3_client_stream.rs index 16d32d6ab..2e08287d8 100644 --- a/crates/proto/src/h3/h3_client_stream.rs +++ b/crates/proto/src/h3/h3_client_stream.rs @@ -674,6 +674,7 @@ mod tests { } #[test] + #[allow(clippy::print_stdout)] fn test_h3_client_stream_clonable() { // use google @@ -715,7 +716,7 @@ mod tests { let total = join_set.len(); let mut idx = 0usize; - while let Some(_) = join_set.join_next().await { + while join_set.join_next().await.is_some() { println!("join_set completed {idx}/{total}"); idx += 1; }