aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/by-example/resources.md
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2019-09-17 19:55:55 +0200
committerJorge Aparicio <jorge@japaric.io>2019-09-17 19:55:55 +0200
commit1e0cfa19ba2f3b9290dd429c390ab959b4fa9ab7 (patch)
treeaea302a937e18d6ac1460d36a7dbc9509fda15d7 /book/en/src/by-example/resources.md
parentfa3872a7f6b1c2e4d6283d339a07e0382bc79d56 (diff)
fix more links
Diffstat (limited to 'book/en/src/by-example/resources.md')
-rw-r--r--book/en/src/by-example/resources.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/book/en/src/by-example/resources.md b/book/en/src/by-example/resources.md
index e8f61d5..b33ca9b 100644
--- a/book/en/src/by-example/resources.md
+++ b/book/en/src/by-example/resources.md
@@ -46,8 +46,8 @@ instead of a reference. This resource proxy is a structure that implements the
[`Mutex`] trait. The only method on this trait, [`lock`], runs its closure
argument in a critical section.
-[`Mutex`]: ../../api/rtfm/trait.Mutex.html
-[`lock`]: ../../api/rtfm/trait.Mutex.html#method.lock
+[`Mutex`]: ../../../api/rtfm/trait.Mutex.html
+[`lock`]: ../../../api/rtfm/trait.Mutex.html#method.lock
The critical section created by the `lock` API is based on dynamic priorities:
it temporarily raises the dynamic priority of the context to a *ceiling*
@@ -89,7 +89,7 @@ consumer and producer end points in `init` and then each end point is stored
in a different resource; `UART0` owns the producer resource and `idle` owns
the consumer resource.
-[`Queue`]: ../../api/heapless/spsc/struct.Queue.html
+[`Queue`]: ../../../api/heapless/spsc/struct.Queue.html
``` rust
{{#include ../../../../examples/late.rs}}