about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorNathan Abel <abel8706@kettering.edu>2020-04-18 14:30:16 -0400
committerNathan Abel <abel8706@kettering.edu>2020-04-18 14:30:16 -0400
commit3a40cbb665495400daf9052c836aa54732f632aa (patch)
tree62f9dc5083c1609eee8bcc1474cd4a097c163996 /src/libstd
parent339a938fa6582d5c6f84d811680a1031c684c1c6 (diff)
downloadrust-3a40cbb665495400daf9052c836aa54732f632aa.tar.gz
rust-3a40cbb665495400daf9052c836aa54732f632aa.zip
Change wording on read_vectored docs
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index 5ab88260d6a..9d839276537 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -570,8 +570,9 @@ pub trait Read {
     /// Like `read`, except that it reads into a slice of buffers.
     ///
     /// Data is copied to fill each buffer in order, with the final buffer
-    /// written to possibly being only partially filled. This method must behave
-    /// as a single call to `read` with the buffers concatenated would.
+    /// written to possibly being only partially filled. This method must
+    /// behave equivalently to a single call to `read` with concatenated
+    /// buffers.
     ///
     /// The default implementation calls `read` with either the first nonempty
     /// buffer provided, or an empty one if none exists.