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 {