UnixStream
: override read_buf
by a1phyr · Pull Request #123084 · rust-lang/rust (original) (raw)
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation2 Commits1 Checks0 Files changed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Operating system: Unix-like
Status: Awaiting review from the assignee but also interested parties.
Relevant to the library team, which will review and decide on the PR/issue.
labels
Cool, so my understanding of this change is just applying the forwarding we were already doing. Maybe we should get a macro for that, but this is fine for right now.
@bors r+ rollup
📌 Commit bff13e9 has been approved by workingjubilee
It is now in the queue for this repository.
bors added S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
and removed S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request
…ingjubilee
UnixStream
: override read_buf
Split from rust-lang#122441
r? @workingjubilee
bors added a commit to rust-lang-ci/rust that referenced this pull request
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request
Rollup merge of rust-lang#123084 - a1phyr:unixstream_read_buf, r=workingjubilee
UnixStream
: override read_buf
Split from rust-lang#122441
r? @workingjubilee
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request
…Denton
Improve several Read
implementations
read_to_end
andread_to_string
forCursor
- Error on OOM in
read_to_string
of&[u8]
andVecDeque<u8>
- Avoid making the slices contiguous in
VecDeque::read_to_string
read_exact
and (unstable)read_buf_exact
forTake
(moved to rust-lang#123084)read_buf
forUnixStream
and&UnixStream
read_to_end
forChildStdErr
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request
…Denton
Improve several Read
implementations
read_to_end
andread_to_string
forCursor
- Error on OOM in
read_to_string
of&[u8]
andVecDeque<u8>
- Avoid making the slices contiguous in
VecDeque::read_to_string
read_exact
and (unstable)read_buf_exact
forTake
(moved to rust-lang#123084)read_buf
forUnixStream
and&UnixStream
read_to_end
forChildStdErr
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request
Rollup merge of rust-lang#122441 - a1phyr:improve_read_impls, r=ChrisDenton
Improve several Read
implementations
read_to_end
andread_to_string
forCursor
- Error on OOM in
read_to_string
of&[u8]
andVecDeque<u8>
- Avoid making the slices contiguous in
VecDeque::read_to_string
read_exact
and (unstable)read_buf_exact
forTake
(moved to rust-lang#123084)read_buf
forUnixStream
and&UnixStream
read_to_end
forChildStdErr
Labels
Operating system: Unix-like
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Relevant to the library team, which will review and decide on the PR/issue.