From a4546af4412afdcac192d60aaa4e9c178fed2457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Cortier?= Date: Tue, 1 Mar 2022 14:09:08 -0500 Subject: [PATCH] Fix typo in comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sebastian Dröge --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index d2a0763..e864887 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -358,7 +358,7 @@ where fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { if self.closing { - // After queing it, we call `write_pending` to drive the close handshake to completion. + // After queueing it, we call `write_pending` to drive the close handshake to completion. match (*self).with_context(Some((ContextWaker::Write, cx)), |s| s.write_pending()) { Ok(()) => Poll::Ready(Ok(())), Err(::tungstenite::Error::ConnectionClosed) => Poll::Ready(Ok(())),