Skip to content

Commit

Permalink
Rollup merge of rust-lang#71296 - ChiefMilesEdgeworth:fix_doc_wording…
Browse files Browse the repository at this point in the history
…, r=Dylan-DPC

Change wording on read_vectored docs

Closes rust-lang#70154

I'm happy to work with others to make the wording on this more clear. I think what I have is an improvement but may not be the final wording.
  • Loading branch information
Dylan-DPC committed Apr 28, 2020
2 parents 9cdda44 + 3a40cbb commit 2de3703
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,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.
Expand Down

0 comments on commit 2de3703

Please sign in to comment.