mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:54:34 -06:00
Merge pull request #476 from gypsydave5/ch09-02-fix-the-end
Fixes missing end to Ch09 02 on mdBook version
This commit is contained in:
@@ -435,7 +435,7 @@ we defined in Listing 9-5. The part of the `match` that requires a return type
|
||||
of `Result` is `return Err(e)`, so the return type of the function must be a
|
||||
`Result` to be compatible with this `return`.
|
||||
|
||||
Let’s look at what happens if use `?` in the `main` function, which you’ll
|
||||
Let’s look at what happens if we use `?` in the `main` function, which you’ll
|
||||
recall has a return type of `()`:
|
||||
|
||||
```rust,ignore
|
||||
|
||||
Reference in New Issue
Block a user