diff options
author | 2023-01-21 23:10:43 +0100 | |
---|---|---|
committer | 2023-01-21 23:10:43 +0100 | |
commit | 40d5ace1112e7cc7ce8fc841ae59fb90c3c310f1 (patch) | |
tree | c452a1d5327fc33f2c10cb6e305e514d89eeb71c /examples/not-sync.rs | |
parent | 86ce8919aec4623a0816b28f1adcd86db33689c8 (diff) | |
download | rtic-40d5ace1112e7cc7ce8fc841ae59fb90c3c310f1.tar.gz rtic-40d5ace1112e7cc7ce8fc841ae59fb90c3c310f1.tar.zst rtic-40d5ace1112e7cc7ce8fc841ae59fb90c3c310f1.zip |
Deny missing_docs for all examples
Diffstat (limited to 'examples/not-sync.rs')
-rw-r--r-- | examples/not-sync.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/not-sync.rs b/examples/not-sync.rs index aa79ad56..68af04a6 100644 --- a/examples/not-sync.rs +++ b/examples/not-sync.rs @@ -2,13 +2,16 @@ // #![deny(unsafe_code)] #![deny(warnings)] +#![deny(missing_docs)] #![no_main] #![no_std] use core::marker::PhantomData; use panic_semihosting as _; +/// Not sync pub struct NotSync { + /// Phantom action _0: PhantomData<*const ()>, } @@ -22,6 +25,7 @@ mod app { #[shared] struct Shared { + /// This resource is not Sync shared: NotSync, } |