diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2023-04-23 15:33:56 +0200 |
|---|---|---|
| committer | datdenkikniet <jcdra1@gmail.com> | 2023-05-11 19:20:58 +0200 |
| commit | a66540efa014b3716d252612bfc7f8f17ed765c4 (patch) | |
| tree | 5efe4cf769b9941c5ce387649ee8ed15470ca507 /book/en/src/by-example/tips | |
| parent | 0807aa548c865d12746ce17aa1c17f7968b139a9 (diff) | |
Disable the playground on all of these
Diffstat (limited to 'book/en/src/by-example/tips')
| -rw-r--r-- | book/en/src/by-example/tips/destructureing.md | 2 | ||||
| -rw-r--r-- | book/en/src/by-example/tips/from_ram.md | 2 | ||||
| -rw-r--r-- | book/en/src/by-example/tips/indirection.md | 2 | ||||
| -rw-r--r-- | book/en/src/by-example/tips/static_lifetimes.md | 2 | ||||
| -rw-r--r-- | book/en/src/by-example/tips/view_code.md | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/book/en/src/by-example/tips/destructureing.md b/book/en/src/by-example/tips/destructureing.md index 6e1d796..752311d 100644 --- a/book/en/src/by-example/tips/destructureing.md +++ b/book/en/src/by-example/tips/destructureing.md @@ -3,7 +3,7 @@ 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 +``` rust,noplayground {{#include ../../../../../rtic/examples/destructure.rs}} ``` diff --git a/book/en/src/by-example/tips/from_ram.md b/book/en/src/by-example/tips/from_ram.md index 7306e12..a153139 100644 --- a/book/en/src/by-example/tips/from_ram.md +++ b/book/en/src/by-example/tips/from_ram.md @@ -11,7 +11,7 @@ improve performance in some cases. The example below shows how to place the higher priority task, `bar`, in RAM. -``` rust +``` rust,noplayground {{#include ../../../../../rtic/examples/ramfunc.rs}} ``` diff --git a/book/en/src/by-example/tips/indirection.md b/book/en/src/by-example/tips/indirection.md index eef0d8e..58b3bde 100644 --- a/book/en/src/by-example/tips/indirection.md +++ b/book/en/src/by-example/tips/indirection.md @@ -13,7 +13,7 @@ As this example of approach goes completely outside of RTIC resource model with Here's an example where `heapless::Pool` is used to "box" buffers of 128 bytes. -``` rust +``` rust,noplayground {{#include ../../../../../rtic/examples/pool.rs}} ``` diff --git a/book/en/src/by-example/tips/static_lifetimes.md b/book/en/src/by-example/tips/static_lifetimes.md index b1fd606..f4e4829 100644 --- a/book/en/src/by-example/tips/static_lifetimes.md +++ b/book/en/src/by-example/tips/static_lifetimes.md @@ -8,7 +8,7 @@ In the following example two different tasks share a [`heapless::spsc::Queue`] f [`heapless::spsc::Queue`]: https://docs.rs/heapless/0.7.5/heapless/spsc/struct.Queue.html -``` rust +``` rust,noplayground {{#include ../../../../../rtic/examples/static.rs}} ``` diff --git a/book/en/src/by-example/tips/view_code.md b/book/en/src/by-example/tips/view_code.md index b4a9066..64af7ad 100644 --- a/book/en/src/by-example/tips/view_code.md +++ b/book/en/src/by-example/tips/view_code.md @@ -16,7 +16,7 @@ $ rustfmt target/rtic-expansion.rs $ tail target/rtic-expansion.rs ``` -``` rust +``` rust,noplayground #[doc = r" Implementation details"] mod app { #[doc = r" Always include the device crate which contains the vector table"] |
