Skip to content

Commit c5d1860

Browse files
authored
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.
2 parents 58f402a + 7f035ba commit c5d1860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/io/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ pub trait Write {
11441144

11451145
/// Like `write`, except that it writes from a slice of buffers.
11461146
///
1147-
/// Data is copied to from each buffer in order, with the final buffer
1147+
/// Data is copied from each buffer in order, with the final buffer
11481148
/// read from possibly being only partially consumed. This method must
11491149
/// behave as a call to `write` with the buffers concatenated would.
11501150
///

0 commit comments

Comments
 (0)