This commit is contained in:
2020-04-20 01:19:38 +08:00
parent f871911c6d
commit edb0eeb12c

View File

@@ -3,6 +3,7 @@ fn main() -> Result<(), Box<dyn Error>> {
let mut input = String::new();
println!("Please input: ");
// io::stdout().flush().ok();
io::stdin().read_line(&mut input)?;
println!("You typed: {}", input.trim());