mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
doc tweaks
This commit is contained in:
parent
0788a15a39
commit
c64e7decfe
2 changed files with 8 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue