viewing paste Unknown #21807 | Rust

Posted on the
1 2 3 4 5 6 7 8
fn get_in() -> String {
    let mut buffer = String::new();
    print!("> ");
    io::stdout().flush().ok().expect("Error flushing buffer");
    io::stdin().read_line(&mut buffer).unwrap();
    buffer
}
 
Viewed 585 times, submitted by IntelligenceExalted.