Skip to content

Commit

Permalink
Rollup merge of rust-lang#62381 - pawroman:fix_typo_in_write_vectored…
Browse files Browse the repository at this point in the history
…, r=Centril

Fix a typo in Write::write_vectored docs

Fixed what seems like a typo. "Copy to from" is extremely confusing.
  • Loading branch information
Centril authored Jul 5, 2019
2 parents 65a2db3 + 7f035ba commit aacf5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit aacf5a8

Please sign in to comment.