diff options
author | 2020-06-04 15:24:21 +0000 | |
---|---|---|
committer | 2020-09-29 11:33:41 +0000 | |
commit | 96df0a33b1096e807bdd15713b10c2f3fa39395c (patch) | |
tree | 596f440beadf3fcae2b65651f52c3d819be0afad /examples/shared-with-init.rs | |
parent | ec936c3b51801280ee6edb365b784d515382b6fb (diff) | |
download | rtic-96df0a33b1096e807bdd15713b10c2f3fa39395c.tar.gz rtic-96df0a33b1096e807bdd15713b10c2f3fa39395c.tar.zst rtic-96df0a33b1096e807bdd15713b10c2f3fa39395c.zip |
All examples use #[resources] attribute
Diffstat (limited to 'examples/shared-with-init.rs')
-rw-r--r-- | examples/shared-with-init.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/shared-with-init.rs b/examples/shared-with-init.rs index 9c4499ee..9f7e26aa 100644 --- a/examples/shared-with-init.rs +++ b/examples/shared-with-init.rs @@ -16,6 +16,7 @@ pub struct MustBeSend; mod app { use super::MustBeSend; + #[resources] struct Resources { #[init(None)] shared: Option<MustBeSend>, |