Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed Oct 22, 2023
1 parent 0519ba3 commit 72db007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/harness/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Message> {
Expand Down

0 comments on commit 72db007

Please sign in to comment.