]> git.lizzy.rs Git - rust.git/commitdiff
Put reference to write_vectored in quotes in doc
authorThomas de Zeeuw <thomasdezeeuw@gmail.com>
Mon, 6 Apr 2020 22:00:07 +0000 (00:00 +0200)
committerThomas de Zeeuw <thomasdezeeuw@gmail.com>
Mon, 6 Apr 2020 22:00:07 +0000 (00:00 +0200)
src/libstd/io/mod.rs

index 6a60f1e087cf296780376c517de32f67859357e5..5ab88260d6ac1888fd3d9657da14094d60d2342a 100644 (file)
@@ -1399,7 +1399,7 @@ fn write_all(&mut self, mut buf: &[u8]) -> Result<()> {
     /// modify the slice to keep track of the bytes already written.
     ///
     /// Once this function returns, the contents of `bufs` are unspecified, as
-    /// this depends on how many calls to write_vectored were necessary. It is
+    /// this depends on how many calls to `write_vectored` were necessary. It is
     /// best to understand this function as taking ownership of `bufs` and to
     /// not use `bufs` afterwards. The underlying buffers, to which the
     /// `IoSlice`s point (but not the `IoSlice`s themselves), are unchanged and