Created
April 22, 2015 10:44
-
-
Save bstrie/254ec7e71ae25c7adc0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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