aboutsummaryrefslogtreecommitdiff
path: root/examples/not-sync.rs
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2020-06-04 15:24:21 +0000
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2020-09-29 11:33:41 +0000
commit96df0a33b1096e807bdd15713b10c2f3fa39395c (patch)
tree596f440beadf3fcae2b65651f52c3d819be0afad /examples/not-sync.rs
parentec936c3b51801280ee6edb365b784d515382b6fb (diff)
downloadrtic-96df0a33b1096e807bdd15713b10c2f3fa39395c.tar.gz
rtic-96df0a33b1096e807bdd15713b10c2f3fa39395c.tar.zst
rtic-96df0a33b1096e807bdd15713b10c2f3fa39395c.zip
All examples use #[resources] attribute
Diffstat (limited to 'examples/not-sync.rs')
-rw-r--r--examples/not-sync.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/not-sync.rs b/examples/not-sync.rs
index 28c76183..75816424 100644
--- a/examples/not-sync.rs
+++ b/examples/not-sync.rs
@@ -19,6 +19,7 @@ mod app {
use super::NotSync;
use core::marker::PhantomData;
+ #[resources]
struct Resources {
#[init(NotSync { _0: PhantomData })]
shared: NotSync,