mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 04:04:06 +00:00
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.
This commit is contained in:
commit
fb1aa5624d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user