Skip to content

Commit f20497c

Browse files
committed
Fix some broken links in the book
1 parent 8f209d5 commit f20497c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/doc/trpl/concurrency.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ Here's the error:
176176
^~~~~~~~~~~~~
177177
```
178178

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

183183
```ignore

src/doc/trpl/error-handling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,5 +297,5 @@ It's worth noting that you can only use `try!` from a function that returns a
297297
`Result`, which means that you cannot use `try!` inside of `main()`, because
298298
`main()` doesn't return anything.
299299

300-
`try!` makes use of [`From<Error>`](../std/convert/trait.From.hml) to determine
300+
`try!` makes use of [`From<Error>`](../std/convert/trait.From.html) to determine
301301
what to return in the error case.

src/doc/trpl/macros.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ mind.
3333
You may have seen the `vec!` macro, used to initialize a [vector][] with any
3434
number of elements.
3535

36-
[vector]: arrays-vectors-and-slices.html
36+
[vector]: vectors.html
3737

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

0 commit comments

Comments
 (0)