aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/by-example/tips_destructureing.md
diff options
context:
space:
mode:
authorPer Lindgren <per.lindgren@ltu.se>2023-02-01 19:46:58 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:35:04 +0100
commit89632f9b22d33bef08b2f98554e263c8a1d7cfa0 (patch)
treeb17278b5507b88ea09e86d9859292d904e89b8f0 /book/en/src/by-example/tips_destructureing.md
parent14fdca130f8c3ab598b30cfb7e70f8712ea42fb8 (diff)
book polish
Diffstat (limited to 'book/en/src/by-example/tips_destructureing.md')
-rw-r--r--book/en/src/by-example/tips_destructureing.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/book/en/src/by-example/tips_destructureing.md b/book/en/src/by-example/tips_destructureing.md
index 4637b48..ab27987 100644
--- a/book/en/src/by-example/tips_destructureing.md
+++ b/book/en/src/by-example/tips_destructureing.md
@@ -1,14 +1,15 @@
# Resource de-structure-ing
Destructuring task resources might help readability if a task takes multiple
-resources.
-Here are two examples on how to split up the resource struct:
+resources. Here are two examples on how to split up the resource struct:
``` rust
-{{#include ../../../../examples/destructure.rs}}
+{{#include ../../../../rtic/examples/destructure.rs}}
```
``` console
$ cargo run --target thumbv7m-none-eabi --example destructure
-{{#include ../../../../ci/expected/destructure.run}}
+```
+``` console
+{{#include ../../../../rtic/ci/expected/destructure.run}}
```