From fc5772ab03ffc40a3c2a9a5f58efa2db3b01aa9e Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sat, 25 Feb 2017 22:29:54 +0000 Subject: [PATCH] rebuild pages at ce2b7ac --- ch09-02-recoverable-errors-with-result.html | 2 +- print.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ch09-02-recoverable-errors-with-result.html b/ch09-02-recoverable-errors-with-result.html index 3762d647c..90d003d63 100644 --- a/ch09-02-recoverable-errors-with-result.html +++ b/ch09-02-recoverable-errors-with-result.html @@ -413,7 +413,7 @@ since it is defined to work in exactly the same way as the match ex 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 ():

use std::fs::File;
 
diff --git a/print.html b/print.html
index 076fd8545..28b1148f1 100644
--- a/print.html
+++ b/print.html
@@ -6721,7 +6721,7 @@ since it is defined to work in exactly the same way as the match ex
 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 ():

use std::fs::File;