Fix formatting in Chapter 09 (wrong kind of quotes)

Code should be put inside backquotes to make it properly formatted.
This commit is contained in:
Petr Zemek
2017-02-07 17:34:47 +01:00
parent afe9888ebf
commit 95b6c1f9de
@@ -244,7 +244,7 @@ and gives us its value, but `ref` matches a value and gives us a reference to it
The condition we want to check in the match guard is whether the value returned
by `error.kind()` is the `NotFound` variant of the `ErrorKind` enum. If it is,
we try to create the file with 'File::create'. However, since `File::create`
we try to create the file with `File::create`. However, since `File::create`
could also fail, we need to add an inner `match` statement as well! When the
file can't be opened, a different error message will be printed. The last arm
of the outer `match` stays the same so that the program panics on any error