diff options
Diffstat (limited to 'book/en/src/internals/non-reentrancy.md')
| -rw-r--r-- | book/en/src/internals/non-reentrancy.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/book/en/src/internals/non-reentrancy.md b/book/en/src/internals/non-reentrancy.md index 17b34d0..04785c3 100644 --- a/book/en/src/internals/non-reentrancy.md +++ b/book/en/src/internals/non-reentrancy.md @@ -10,7 +10,7 @@ To reenter a task handler in software its underlying interrupt handler must be invoked using FFI (see example below). FFI requires `unsafe` code so end users are discouraged from directly invoking an interrupt handler. -``` rust +``` rust,noplayground #[rtic::app(device = ..)] mod app { #[init] @@ -48,7 +48,7 @@ call from user code. The above example expands into: -``` rust +``` rust,noplayground fn foo(c: foo::Context) { // .. user code .. } |
