Skip to content

Instantly share code, notes, and snippets.

Created April 22, 2015 10:44
What would you like to do?
use std::io::BufRead;
fn main() {
let stdin = std::io::stdin();
for line in stdin.lock().lines().take(2) {
println!("{}", line.unwrap());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment