mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
Merge #626
626: Fix error in book, shared resource need only `Send` r=korken89 a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
This commit is contained in:
commit
f24e9264b1
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ $ cargo run --target thumbv7m-none-eabi --example lock
|
||||||
{{#include ../../../../ci/expected/lock.run}}
|
{{#include ../../../../ci/expected/lock.run}}
|
||||||
```
|
```
|
||||||
|
|
||||||
Types of `#[shared]` resources have to be both [`Send`] and [`Sync`].
|
Types of `#[shared]` resources have to be [`Send`].
|
||||||
|
|
||||||
## Multi-lock
|
## Multi-lock
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue