diff --git a/src/client.rs b/src/client.rs index 1725758..f7bdba5 100644 --- a/src/client.rs +++ b/src/client.rs @@ -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> { - 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() } }