diff options
author | 2017-07-20 23:14:41 -0500 | |
---|---|---|
committer | 2017-07-20 23:14:41 -0500 | |
commit | c64e7decfe77f1fe604889a5125933d60f8e121b (patch) | |
tree | 854039071e0f4708765e1c10a45f268959e8ed32 /macros/src/lib.rs | |
parent | 0788a15a39599dece96ba5d2f8cb15c7e397939a (diff) | |
download | rtic-c64e7decfe77f1fe604889a5125933d60f8e121b.tar.gz rtic-c64e7decfe77f1fe604889a5125933d60f8e121b.tar.zst rtic-c64e7decfe77f1fe604889a5125933d60f8e121b.zip |
doc tweaks
Diffstat (limited to 'macros/src/lib.rs')
-rw-r--r-- | macros/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs index b33f43b6..8ea87fa0 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -1,3 +1,6 @@ +//! Procedural macros for the RTFM framework + +#![deny(warnings)] #![feature(proc_macro)] #![recursion_limit = "128"] @@ -18,6 +21,8 @@ mod analyze; mod check; mod trans; +/// The `app!` macro, a macro used to specify the tasks and resources of a +/// RTFM application. #[proc_macro] pub fn app(ts: TokenStream) -> TokenStream { match run(ts) { |