diff options
| author | bors <bors@rust-lang.org> | 2021-07-21 06:06:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-21 06:06:37 +0000 |
| commit | cf932aa584f2ba1a1744f3ef0b21f14387276fb6 (patch) | |
| tree | eb3e42af172d699cdf8377f1dddea024539a1bef /compiler/rustc_query_impl/src | |
| parent | ac575b64ed8ea2099a074e3e5bd9862a7513b1e4 (diff) | |
| parent | 339ce4fee86ede86d6cdde514faf6f62aed16027 (diff) | |
| download | rust-cf932aa584f2ba1a1744f3ef0b21f14387276fb6.tar.gz rust-cf932aa584f2ba1a1744f3ef0b21f14387276fb6.zip | |
Auto merge of #86847 - tlyu:stdin-forwarders, r=joshtriplett
add `Stdin::lines`, `Stdin::split` forwarder methods Add forwarder methods `Stdin::lines` and `Stdin::split`, which consume and lock a `Stdin` handle, and forward on to the corresponding `BufRead` methods. This should make it easier for beginners to use those iterator constructors without explicitly dealing with locks or lifetimes. Replaces #86412. ~~Based on #86846 to get the tracking issue number for the `stdio_locked` feature.~~ Rebased after merge, so it's only one commit now. r? `@joshtriplett` `@rustbot` label +A-io +C-enhancement +D-newcomer-roadblock +T-libs-api
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
