diff options
author | 2020-06-04 15:43:16 +0000 | |
---|---|---|
committer | 2020-09-29 11:56:56 +0000 | |
commit | 487fea45ce15ea375192f72ddb148dda8414873b (patch) | |
tree | 7b27790b7108c9cd4ada56c1be6d41c7da9b4b69 /macros/src/lib.rs | |
parent | adff844b8c09e83b4a69fc5b7ac9bd133f09dbbc (diff) | |
download | rtic-487fea45ce15ea375192f72ddb148dda8414873b.tar.gz rtic-487fea45ce15ea375192f72ddb148dda8414873b.tar.zst rtic-487fea45ce15ea375192f72ddb148dda8414873b.zip |
Keep user code as-is within the module, add example
Diffstat (limited to 'macros/src/lib.rs')
-rw-r--r-- | macros/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs index 2a439e1e..94e7eec6 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -35,7 +35,8 @@ mod tests; /// /// The items allowed in the module block are specified below: /// -/// # 1. `struct Resources` +/// # 1. `#[resources] +/// struct <resource-name>` /// /// This structure contains the declaration of all the resources used by the application. Each field /// in this structure corresponds to a different resource. Each resource may optionally be given an |