diff options
Diffstat (limited to 'book/en/src/by-example/tips/static_lifetimes.md')
| -rw-r--r-- | book/en/src/by-example/tips/static_lifetimes.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/book/en/src/by-example/tips/static_lifetimes.md b/book/en/src/by-example/tips/static_lifetimes.md index f4e4829..7f4e38f 100644 --- a/book/en/src/by-example/tips/static_lifetimes.md +++ b/book/en/src/by-example/tips/static_lifetimes.md @@ -8,16 +8,16 @@ 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,noplayground -{{#include ../../../../../rtic/examples/static.rs}} +```rust,noplayground +{{#include ../../../../../examples/lm3s6965/examples/static.rs}} ``` Running this program produces the expected output. -``` console -$ cargo run --target thumbv7m-none-eabi --example static +```console +$ cargo xtask qemu --verbose --example static ``` -``` console -{{#include ../../../../../rtic/ci/expected/static.run}} +```console +{{#include ../../../../../ci/expected/lm3s6965/static.run}} ``` |
