We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a18444b commit b2f4701Copy full SHA for b2f4701
src/main.rs
@@ -6,6 +6,6 @@ fn main() {
6
io::stdout().flush().unwrap();
7
8
let mut command = String::new();
9
- io::stdin().read_lines(&mut command).unwrap():
+ io::stdin().read_line(&mut command).unwrap();
10
println!("{}: command not found",command.trim());
11
}
0 commit comments