Skip to content

Commit

Permalink
fix broken vectorization pull
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Jul 22, 2024
1 parent b8b75dc commit d4b04ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ impl AsyncWrite for UnixStream {
fn poll_write_vectored(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
bufs: &[IoSlice<'_>],
bufs: &[io::IoSlice<'_>],
) -> Poll<Result<usize, Error>> {
self.project().unix_stream.poll_write_vectored(cx)
self.project().unix_stream.poll_write_vectored(cx, bufs)
}

fn is_write_vectored(&self) -> bool {
self.project().unix_stream.is_write_vectored()
self.unix_stream.is_write_vectored()
}
}

Expand Down

0 comments on commit d4b04ae

Please sign in to comment.