about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-05-04 18:36:37 +0200
committerGitHub <noreply@github.com>2024-05-04 18:36:37 +0200
commit00bc2a425c98fe7067a862e3c822d4ca6c6be2ff (patch)
treee75879870e465eeff00acfb740c4e80e1585404c /compiler/rustc_interface/src/interface.rs
parentd7ea27808deb5e10a0f7384e339e4e6165e33398 (diff)
parent2e3ee230220cc81b159d99d833cba46c667e3321 (diff)
downloadrust-00bc2a425c98fe7067a862e3c822d4ca6c6be2ff.tar.gz
rust-00bc2a425c98fe7067a862e3c822d4ca6c6be2ff.zip
Rollup merge of #122441 - a1phyr:improve_read_impls, r=ChrisDenton
Improve several `Read` implementations

- `read_to_end` and `read_to_string` for `Cursor`
- Error on OOM in `read_to_string` of `&[u8]` and `VecDeque<u8>`
- Avoid making the slices contiguous in `VecDeque::read_to_string`
- ~`read_exact` and (unstable) `read_buf_exact` for `Take`~
- ~`read_buf` for `UnixStream` and `&UnixStream`~ (moved to #123084)
- `read_to_end` for `ChildStdErr`
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions