about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorPaweł Romanowski <pawroman@gmail.com>2019-07-04 18:44:34 +0200
committerPaweł Romanowski <pawroman@gmail.com>2019-07-04 18:44:34 +0200
commit7f035baaf704195029a814276d4350d2b1319c57 (patch)
tree4484fb19f287885ee92ea0103eb7dd27d8e0dd41 /src/libstd
parentb43eb4235ac43c822d903ad26ed806f34cc1a14a (diff)
downloadrust-7f035baaf704195029a814276d4350d2b1319c57.tar.gz
rust-7f035baaf704195029a814276d4350d2b1319c57.zip
Fix a typo in Write::write_vectored docs
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.
     ///