Skip to content
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 Stdin::lines, Stdin::split forwarder methods #86412

Closed
wants to merge 1 commit into from

Commits on Jun 17, 2021

  1. 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.
    tlyu committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    753966b View commit details
    Browse the repository at this point in the history