Editor\'s note: This question refers to parts of Rust that predate Rust 1.0, but the general concept is still valid in Rust 1.0.
I intend to
As of 17 April 2015 from mdcox on the mozilla rust irc.
mdcox
use std::io; fn main() { let mut stdin = io::stdin(); let input = &mut String::new(); loop { input.clear(); stdin.read_line(input); println!("{}", input); } }