mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
Fix error in book, shared resource need only Send
This commit is contained in:
parent
c6231d81d8
commit
a7a8f9f4ed
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}}
|
||||
```
|
||||
|
||||
Types of `#[shared]` resources have to be both [`Send`] and [`Sync`].
|
||||
Types of `#[shared]` resources have to be [`Send`].
|
||||
|
||||
## Multi-lock
|
||||
|
||||
|
|
Loading…
Reference in a new issue