mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 14:25:18 +01:00
Keep user code as-is within the module, add example
This commit is contained in:
parent
adff844b8c
commit
487fea45ce
3 changed files with 68 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue