use scanln::scanln; fn main() { // Read from stdin with a prompt let some_input = scanln!("Enter text: "); println!("\"{}\" was entered", some_input); }