1 2 3 4 5 6 7 8 9
use std::io::{self, BufRead}; fn main() { let stdin = io::stdin(); for line in stdin.lock().lines() { let line = line.expect("Could not read line from standard in"); println!("{}", line); } }