Constructs a new handle to the standard input of the current process. Intended to have the same interface as the Rust std::io
()
| 65 | /// Intended to have the same interface as the Rust std::io |
| 66 | /// <https://doc.rust-lang.org/stable/std/io/fn.stdin.html> |
| 67 | pub fn stdin() -> Stdin { |
| 68 | Stdin{} |
| 69 | } |
| 70 | |
| 71 | impl Stdin { |
| 72 | /// reads a line of input, appending it to the specified buffer. |