about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorTaylor Yu <tlyu@mit.edu>2021-06-17 13:39:13 -0500
committerTaylor Yu <tlyu@mit.edu>2021-07-12 23:43:42 -0500
commit339ce4fee86ede86d6cdde514faf6f62aed16027 (patch)
tree0bab7eb7884a5b712acf962e25e8958eb3f9fa52 /compiler/rustc_query_impl/src
parent14c0c3e55d311dd47aad792ef316bd5dde778886 (diff)
downloadrust-339ce4fee86ede86d6cdde514faf6f62aed16027.tar.gz
rust-339ce4fee86ede86d6cdde514faf6f62aed16027.zip
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.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions