From e8eca4be37a2fe1af25b203ace5e99b31fcc3972 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Thu, 22 Oct 2020 21:36:32 +0200 Subject: Now all locks are symmetric Test fixes Fix test Fix comment --- examples/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/types.rs') diff --git a/examples/types.rs b/examples/types.rs index 815d309..cb93a36 100644 --- a/examples/types.rs +++ b/examples/types.rs @@ -45,7 +45,7 @@ mod app { #[task(priority = 2, resources = [shared])] fn foo(cx: foo::Context) { let _: cyccnt::Instant = cx.scheduled; - let _: &mut u32 = cx.resources.shared; + let _: resources::shared = cx.resources.shared; let _: foo::Resources = cx.resources; } -- cgit v1.2.3