Skip to content

Commit

Permalink
and the last fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mimoo authored Sep 5, 2018
1 parent cea24c4 commit eeda6c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2018-edition/src/ch09-02-recoverable-errors-with-result.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn main() {
<span class="caption">Listing 9-3: Opening a file</span>

How do we know `File::open` returns a `Result`? We could look at the
[standard library API documentation](../../std),
[standard library API documentation](../../../std),
or we could ask the compiler! If we give `f` a type
annotation that we know is *not* the return type of the function and then try
to compile the code, the compiler will tell us that the types don’t match. The
Expand Down

0 comments on commit eeda6c5

Please sign in to comment.