-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
impl Read for &Stdin
is missing
#95622
Labels
A-io
Area: `std::io`, `std::fs`, `std::net` and `std::path`
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Comments
Seems reasonable to me. We'd need to FCP the resulting PR, since trait impls are insta-stable. |
RalfJung
added
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
A-io
Area: `std::io`, `std::fs`, `std::net` and `std::path`
labels
Apr 4, 2022
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@rustbot claim |
@rustbot claim |
jhpratt
added a commit
to jhpratt/rust
that referenced
this issue
Mar 9, 2024
Add Read Impl for &Stdin r? `@oli-obk` fixes rust-lang#95622
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Mar 9, 2024
Rollup merge of rust-lang#99153 - Dajamante:issue/95622, r=dtolnay Add Read Impl for &Stdin r? `@oli-obk` fixes rust-lang#95622
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-io
Area: `std::io`, `std::fs`, `std::net` and `std::path`
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
It is possible to write to a
&Stdout
thanks toimpl Write for &Stdout
, but it is not possible to read from a&Stdin
as the correspondingimpl Read for &Stdin
is missing. This seems to be entirely an accident, given thatread_line
does work on&Stdin
.Cc @rust-lang/libs-api
The text was updated successfully, but these errors were encountered: