Rollup merge of #62381 - pawroman:fix_typo_in_write_vectored, r=Centril

Fix a typo in Write::write_vectored docs

Fixed what seems like a typo. "Copy to from" is extremely confusing.
This commit is contained in:
Mazdak Farrokhzad 2019-07-05 20:27:02 +02:00 committed by GitHub
commit c5d18600ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.
///