Skip to content

Commit

Permalink
Fix option link and anchor links.
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherdumas committed Sep 15, 2015
1 parent 8a19b23 commit 320880e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/doc/trpl/error-handling.md
Expand Up @@ -33,12 +33,12 @@ systems may want to jump around.
* [Composing `Option` and `Result`](#composing-option-and-result)
* [The limits of combinators](#the-limits-of-combinators)
* [Early returns](#early-returns)
* [The `try!` macro](#the-try-macro)
* [The `try!` macro](#the-try!-macro)
* [Defining your own error type](#defining-your-own-error-type)
* [Standard library traits used for error handling](#standard-library-traits-used-for-error-handling)
* [The `Error` trait](#the-error-trait)
* [The `From` trait](#the-from-trait)
* [The real `try!` macro](#the-real-try-macro)
* [The real `try!` macro](#the-real-try!-macro)
* [Composing custom error types](#composing-custom-error-types)
* [Advice for library writers](#advice-for-library-writers)
* [Case study: A program to read population data](#case-study-a-program-to-read-population-data)
Expand Down Expand Up @@ -120,10 +120,9 @@ It would be better if we just showed the code for unwrapping because it is so
simple, but to do that, we will first need to explore the `Option` and `Result`
types. Both of these types have a method called `unwrap` defined on them.

## The `Option` type
### The `Option` type

The `Option` type is
[defined in the standard library][1]:
The `Option` type is [defined in the standard library][5]:

```rust
enum Option<T> {
Expand Down

0 comments on commit 320880e

Please sign in to comment.