From 9bbbcad5da918220bb30f2295d5d34d3772bcbe1 Mon Sep 17 00:00:00 2001 From: David Wickes Date: Sat, 25 Feb 2017 22:01:27 +0000 Subject: [PATCH] corrects typo --- src/ch09-02-recoverable-errors-with-result.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch09-02-recoverable-errors-with-result.md b/src/ch09-02-recoverable-errors-with-result.md index 72424a9db..14579075d 100644 --- a/src/ch09-02-recoverable-errors-with-result.md +++ b/src/ch09-02-recoverable-errors-with-result.md @@ -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