about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-05 20:27:02 +0200
committerGitHub <noreply@github.com>2019-07-05 20:27:02 +0200
commitc5d18600ef3c5e795c4133cfd91a1df088f2252e (patch)
treec0bbc71710c3cc793d98b81d0a38dd4ac03240b4 /src/libstd
parent58f402aab79347a23f1c0d87fc73c7732542bbe7 (diff)
parent7f035baaf704195029a814276d4350d2b1319c57 (diff)
downloadrust-c5d18600ef3c5e795c4133cfd91a1df088f2252e.tar.gz
rust-c5d18600ef3c5e795c4133cfd91a1df088f2252e.zip
Rollup merge of #62381 - pawroman:fix_typo_in_write_vectored, r=Centril
Fix a typo in Write::write_vectored docs

Fixed what seems like a typo. "Copy to from" is extremely confusing.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index 3d0568c16cd..a8d4d1181aa 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -1144,7 +1144,7 @@ pub trait Write {
 
     /// Like `write`, except that it writes from a slice of buffers.
     ///
-    /// Data is copied to from each buffer in order, with the final buffer
+    /// Data is copied from each buffer in order, with the final buffer
     /// read from possibly being only partially consumed. This method must
     /// behave as a call to `write` with the buffers concatenated would.
     ///