Skip to content

Commit b2f4701

Browse files
committed
typo: fixed read_lines to read_line
1 parent a18444b commit b2f4701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ fn main() {
66
io::stdout().flush().unwrap();
77

88
let mut command = String::new();
9-
io::stdin().read_lines(&mut command).unwrap():
9+
io::stdin().read_line(&mut command).unwrap();
1010
println!("{}: command not found",command.trim());
1111
}

0 commit comments

Comments
 (0)