Re:Getting Past C
by rnestler on Tuesday January 03, 2017 @05:35PM
(#13313844)
Did you mean something like this?
[ Parent
| on HN ]
(FWIW, You could golf that to io::stdin().read_to_end(...), because the Read implementation for Stdin does the same locking internally: https://github.com/rust-lang/rust/blob/8f62c2920077eb5cb8132... .)