From a7a8f9f4eddca9476a880de6703390f28be6278b Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Sun, 20 Mar 2022 12:40:30 +0100 Subject: [PATCH] Fix error in book, shared resource need only `Send` --- book/en/src/by-example/resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/en/src/by-example/resources.md b/book/en/src/by-example/resources.md index 9d51d6c97a..6349b520b5 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