Skip to content

Commit

Permalink
Fix some broken links in the book
Browse files Browse the repository at this point in the history
  • Loading branch information
fhartwig committed Apr 16, 2015
1 parent 8f209d5 commit f20497c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/doc/trpl/concurrency.md
Expand Up @@ -176,8 +176,8 @@ Here's the error:
^~~~~~~~~~~~~
```

You see, [`Mutex`](std/sync/struct.Mutex.html) has a
[`lock`](http://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html#method.lock)
You see, [`Mutex`](../std/sync/struct.Mutex.html) has a
[`lock`](../std/sync/struct.Mutex.html#method.lock)
method which has this signature:

```ignore
Expand Down
2 changes: 1 addition & 1 deletion src/doc/trpl/error-handling.md
Expand Up @@ -297,5 +297,5 @@ It's worth noting that you can only use `try!` from a function that returns a
`Result`, which means that you cannot use `try!` inside of `main()`, because
`main()` doesn't return anything.

`try!` makes use of [`From<Error>`](../std/convert/trait.From.hml) to determine
`try!` makes use of [`From<Error>`](../std/convert/trait.From.html) to determine
what to return in the error case.
2 changes: 1 addition & 1 deletion src/doc/trpl/macros.md
Expand Up @@ -33,7 +33,7 @@ mind.
You may have seen the `vec!` macro, used to initialize a [vector][] with any
number of elements.

[vector]: arrays-vectors-and-slices.html
[vector]: vectors.html

```rust
let x: Vec<u32> = vec![1, 2, 3];
Expand Down

0 comments on commit f20497c

Please sign in to comment.