Skip to content

impl Read for &Stdin is missing #95622

Closed
@RalfJung

Description

It is possible to write to a &Stdout thanks to impl Write for &Stdout, but it is not possible to read from a &Stdin as the corresponding impl Read for &Stdin is missing. This seems to be entirely an accident, given that read_line does work on &Stdin.

Cc @rust-lang/libs-api

Metadata

Assignees

Labels

A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions