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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/book/en/src/by-example/tips/static_lifetimes.md b/book/en/src/by-example/tips/static_lifetimes.md index 6f88bf0..e11a15b 100644 --- a/book/en/src/by-example/tips/static_lifetimes.md +++ b/book/en/src/by-example/tips/static_lifetimes.md @@ -9,15 +9,15 @@ 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 ../../../../../examples/lm3s6965/examples/static.rs}} +{{#include ../../../../../examples/lm3s6965/examples/static-resources-in-init.rs}} ``` Running this program produces the expected output. ```console -$ cargo xtask qemu --verbose --example static +$ cargo xtask qemu --verbose --example static-resources-in-init ``` ```console -{{#include ../../../../../ci/expected/lm3s6965/static.run}} +{{#include ../../../../../ci/expected/lm3s6965/static-resources-in-init.run}} ``` |
