diff options
| author | nils <48135649+Nilstrieb@users.noreply.github.com> | 2023-03-21 13:00:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-21 13:00:21 +0100 |
| commit | 82dc127d7be8ae7aeefed8821b65b1afb2080cf1 (patch) | |
| tree | 16782a64bdf6dc741208701c470f9036be0d2462 /compiler/rustc_plugin_impl/src/errors.rs | |
| parent | caae551ecba553843059bcbd0ea3a591239176e1 (diff) | |
| parent | defa2456246a8272ceace9c1cdccdf2e4c36175e (diff) | |
| download | rust-82dc127d7be8ae7aeefed8821b65b1afb2080cf1.tar.gz rust-82dc127d7be8ae7aeefed8821b65b1afb2080cf1.zip | |
Rollup merge of #108326 - tmiasko:read-buf, r=thomcc
Implement read_buf for a few more types Implement read_buf for TcpStream, Stdin, StdinLock, ChildStdout, ChildStderr (and internally for AnonPipe, Handle, Socket), so that it skips buffer initialization. The other provided methods like read_to_string and read_to_end are implemented in terms of read_buf and so benefit from the optimization as well. This commit also implements read_vectored and is_read_vectored where applicable.
Diffstat (limited to 'compiler/rustc_plugin_impl/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
