Fix error in book, shared resource need only Send

This commit is contained in:
Emil Fresk 2022-03-20 12:40:30 +01:00
parent c6231d81d8
commit a7a8f9f4ed

View file

@ -105,7 +105,7 @@ $ cargo run --target thumbv7m-none-eabi --example lock
{{#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