From b0f6d60c3d9a6b6052d56caddb54d73017668206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Thu, 12 Nov 2020 18:24:57 +0000 Subject: [PATCH] Add static mut --- 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 c34efc9ac0..14a02dee6a 100644 --- a/book/en/src/by-example/resources.md +++ b/book/en/src/by-example/resources.md @@ -146,5 +146,5 @@ There exists two other options dealing with resources same priority never can preempt another task on the same priority this is safe. * `#[task_local]`: there must be only one task using this resource, - similar to a task local resource, but (optionally) set-up by init. + similar to a `static mut` task local resource, but (optionally) set-up by init.