aboutsummaryrefslogtreecommitdiff
path: root/book/en
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2022-03-20 12:40:30 +0100
committerEmil Fresk <emil.fresk@gmail.com>2022-03-20 12:40:30 +0100
commita7a8f9f4eddca9476a880de6703390f28be6278b (patch)
tree273018e27ee77df3bf3410d40e54b664be52ea5a /book/en
parentc6231d81d843815169492daaa947066234d4a9bf (diff)
Fix error in book, shared resource need only `Send`
Diffstat (limited to 'book/en')
-rw-r--r--book/en/src/by-example/resources.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/en/src/by-example/resources.md b/book/en/src/by-example/resources.md
index 9d51d6c..6349b52 100644
--- a/book/en/src/by-example/resources.md
+++ b/book/en/src/by-example/resources.md
@@ -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