aboutsummaryrefslogtreecommitdiff
path: root/examples/types.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-10-23 20:52:58 +0000
committerGravatar GitHub <noreply@github.com> 2020-10-23 20:52:58 +0000
commitbbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b (patch)
treec70a80e9bcacb54838f09141bd1d2b27e844760f /examples/types.rs
parentb3aa9e99a975eca637582f31de20fe11ae8f7d64 (diff)
parente8eca4be37a2fe1af25b203ace5e99b31fcc3972 (diff)
downloadrtic-bbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b.tar.gz
rtic-bbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b.tar.zst
rtic-bbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b.zip
Merge #399
399: Now all locks are symmetric r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
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;
}