From efc0788ec512a2634253bf5d5d41005fa76413cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Tue, 18 Jun 2024 16:37:21 +0100 Subject: [PATCH] fix: Use correct `AsyncRead` bound in `after_handshake_split` (#80) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index b6d041c..ca1d5b6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -230,7 +230,7 @@ pub fn after_handshake_split( role: Role, ) -> (WebSocketRead, WebSocketWrite) where - R: AsyncWrite + Unpin, + R: AsyncRead + Unpin, W: AsyncWrite + Unpin, { (