Corrected error message displayed on example runs in ch12-06.

This commit is contained in:
jchovanec
2017-06-07 02:44:19 -04:00
parent 7a999ef48f
commit 30ec6fc22f

View File

@@ -37,7 +37,7 @@ expecting printed on the screen, so that means it must have ended up in the
file. Let's see what *output.txt* contains:
```text
Application error: No search string or filename found
Problem parsing arguments: not enough arguments
```
<!-- I don't understand why we send this output to a file to then just say we
@@ -112,7 +112,7 @@ redirecting `stdout` with `>`:
```text
$ cargo run > output.txt
Application error: No search string or filename found
Problem parsing arguments: not enough arguments
```
Now we see our error on the screen, and `output.txt` contains nothing, which is