-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add Read Impl for &Stdin #99153
Add Read Impl for &Stdin #99153
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @oli-obk (or someone else) soon. Please see the contribution instructions for more information. |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
@rustbot label +T-libs-api -T-libs |
r? rust-lang/libs-api |
r? @m-ou-se |
triage: |
r? @thomcc |
This needs ACP. |
If it does, then I think https://std-dev-guide.rust-lang.org/development/feature-lifecycle.html?highlight=acp should be updated? The current documentation seems to indicate that ACP are entirely optional, and are only to avoid working on a PR without it eventually landing (the "Note that an ACP is not strictly required" paragraph in particular). AFAIU that document's suggestions are that this PR should just go through a T-libs FCP, which seems to be the same understanding as this comment in the related issue (though the process could have changed since) |
library/std/src/io/stdio.rs
Outdated
@@ -437,6 +437,28 @@ impl Read for Stdin { | |||
} | |||
} | |||
|
|||
#[stable(feature = "rust1", since = "1.0.0")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please choose some other unique feature name and set the stabilization version to "CURRENT_RUSTC_VERSION".
I filled in a feature name to resolve #99153 (review), and an implementation of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
This comment has been minimized.
This comment has been minimized.
@bors r+ |
This comment was marked as duplicate.
This comment was marked as duplicate.
@bors r=dtolnay |
Add Read Impl for &Stdin r? `@oli-obk` fixes rust-lang#95622
Rollup of 12 pull requests Successful merges: - rust-lang#99153 (Add Read Impl for &Stdin) - rust-lang#112136 (Add std::ffi::c_str module) - rust-lang#120504 (Vec::try_with_capacity) - rust-lang#121280 (Implement MaybeUninit::fill{,_with,_from}) - rust-lang#121813 (Misc improvements to non local defs lint implementation) - rust-lang#121833 (Suggest correct path in include_bytes!) - rust-lang#121860 (Add a tidy check that checks whether the fluent slugs only appear once) - rust-lang#122160 (Eagerly translate `HelpUseLatestEdition` in parser diagnostics) - rust-lang#122178 (ci: add a runner for vanilla LLVM 18) - rust-lang#122186 (Remove a workaround for a bug) - rust-lang#122215 (Some tweaks to the parallel query cycle handler) - rust-lang#122223 (Fix typo in `VisitorResult`) r? `@ghost` `@rustbot` modify labels: rollup
@bors rollup |
Rollup of 8 pull requests Successful merges: - rust-lang#99153 (Add Read Impl for &Stdin) - rust-lang#114655 (Make `impl<Fd: AsFd>` impl take `?Sized`) - rust-lang#120504 (Vec::try_with_capacity) - rust-lang#121280 (Implement MaybeUninit::fill{,_with,_from}) - rust-lang#121403 (impl From<TryReserveError> for io::Error) - rust-lang#121526 (on the fly type casting for `build.rustc` and `build.cargo`) - rust-lang#121584 (bump itertools to 0.12) - rust-lang#121711 (Implement junction_point) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#99153 - Dajamante:issue/95622, r=dtolnay Add Read Impl for &Stdin r? `@oli-obk` fixes rust-lang#95622
r? @oli-obk
fixes #95622