diff options
Diffstat (limited to 'src/io/util/async_write_ext.rs')
-rw-r--r-- | src/io/util/async_write_ext.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/io/util/async_write_ext.rs b/src/io/util/async_write_ext.rs index fa41097..e6ef5b2 100644 --- a/src/io/util/async_write_ext.rs +++ b/src/io/util/async_write_ext.rs @@ -119,6 +119,7 @@ cfg_io_util! { write(self, src) } + /// Writes a buffer into this writer, advancing the buffer's internal /// cursor. /// @@ -134,7 +135,7 @@ cfg_io_util! { /// internal cursor is advanced by the number of bytes written. A /// subsequent call to `write_buf` using the **same** `buf` value will /// resume from the point that the first call to `write_buf` completed. - /// A call to `write` represents *at most one* attempt to write to any + /// A call to `write_buf` represents *at most one* attempt to write to any /// wrapped object. /// /// # Return @@ -976,6 +977,8 @@ cfg_io_util! { /// no longer attempt to write to the stream. For example, the /// `TcpStream` implementation will issue a `shutdown(Write)` sys call. /// + /// [`flush`]: fn@crate::io::AsyncWriteExt::flush + /// /// # Examples /// /// ```no_run |