From 72db00747affced7ed8a0286eeaabf91ad397006 Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Sun, 22 Oct 2023 08:23:29 -0400 Subject: [PATCH] fix lint --- crates/harness/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/harness/src/client.rs b/crates/harness/src/client.rs index 1f41c199c..866e135d7 100644 --- a/crates/harness/src/client.rs +++ b/crates/harness/src/client.rs @@ -86,7 +86,7 @@ impl Client { } let mut stream = self.stream.take().unwrap(); - while let Some(_) = stream.next().await {} + while stream.next().await.is_some() {} } pub async fn recv(&mut self) -> anyhow::Result {