diff options
Diffstat (limited to 'book/en/src/by-example/tips_destructureing.md')
| -rw-r--r-- | book/en/src/by-example/tips_destructureing.md | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/book/en/src/by-example/tips_destructureing.md b/book/en/src/by-example/tips_destructureing.md deleted file mode 100644 index ab27987..0000000 --- a/book/en/src/by-example/tips_destructureing.md +++ /dev/null @@ -1,15 +0,0 @@ -# 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: - -``` rust -{{#include ../../../../rtic/examples/destructure.rs}} -``` - -``` console -$ cargo run --target thumbv7m-none-eabi --example destructure -``` -``` console -{{#include ../../../../rtic/ci/expected/destructure.run}} -``` |
