Skip to content

Commit fb1aa56

Browse files
authored
Rollup merge of #71296 - ChiefMilesEdgeworth:fix_doc_wording, r=Dylan-DPC
Change wording on read_vectored docs Closes #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.
2 parents 65527cb + 3a40cbb commit fb1aa56

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/libstd/io/mod.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,9 @@ pub trait Read {
571571
/// Like `read`, except that it reads into a slice of buffers.
572572
///
573573
/// Data is copied to fill each buffer in order, with the final buffer
574-
/// written to possibly being only partially filled. This method must behave
575-
/// as a single call to `read` with the buffers concatenated would.
574+
/// written to possibly being only partially filled. This method must
575+
/// behave equivalently to a single call to `read` with concatenated
576+
/// buffers.
576577
///
577578
/// The default implementation calls `read` with either the first nonempty
578579
/// buffer provided, or an empty one if none exists.

0 commit comments

Comments
 (0)