diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2021-02-25 17:32:12 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2021-02-25 17:32:12 +0100 |
| commit | 767d46e05bbc88eb3c236cf468f9432c7fe0ce05 (patch) | |
| tree | 20eb8e5efe673a31983c2f32bad82486ed72bc7a /macros/src/codegen.rs | |
| parent | 70ea278f86fb9ca30ff496fb6235d171520eeafc (diff) | |
Review fixes
Diffstat (limited to 'macros/src/codegen.rs')
| -rw-r--r-- | macros/src/codegen.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/src/codegen.rs b/macros/src/codegen.rs index 32e7da0..7885a4a 100644 --- a/macros/src/codegen.rs +++ b/macros/src/codegen.rs @@ -127,6 +127,7 @@ pub fn app(app: &App, analysis: &Analysis, extra: &Extra) -> TokenStream2 { #[doc(hidden)] pub type #mangled_name = #ty; + /// This module holds the static implementation for `#name::now()` #[allow(non_snake_case)] pub mod #name { /// Access the global `Monotonic` implementation, not that this will panic @@ -154,7 +155,7 @@ pub fn app(app: &App, analysis: &Analysis, extra: &Extra) -> TokenStream2 { let rt_err = util::rt_err_ident(); quote!( - /// Implementation details + /// The RTIC application module pub mod #name { /// Always include the device crate which contains the vector table use #device as #rt_err; |
