aboutsummaryrefslogtreecommitdiff
path: root/examples/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/types.rs')
-rw-r--r--examples/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/types.rs b/examples/types.rs
index 815d309a..cb93a36f 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;
}