Skip to content

Commit

Permalink
fix: Use correct AsyncRead bound in after_handshake_split (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus23 authored Jun 18, 2024
1 parent bee1075 commit efc0788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ pub fn after_handshake_split<R, W>(
role: Role,
) -> (WebSocketRead<R>, WebSocketWrite<W>)
where
R: AsyncWrite + Unpin,
R: AsyncRead + Unpin,
W: AsyncWrite + Unpin,
{
(
Expand Down

0 comments on commit efc0788

Please sign in to comment.