standard input
The text typed into a running program.
Standard input (stdin) is the stream a process reads its input from, the keyboard by default.
Examples
io::stdin().read_line(&mut name)keeps the newline, so typingFerrisgives"Ferris\n";name.trim()removes it.
See also