aboutsummaryrefslogtreecommitdiff
path: root/examples/shared.rs
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2023-01-21 23:10:43 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-01-21 23:10:43 +0100
commit40d5ace1112e7cc7ce8fc841ae59fb90c3c310f1 (patch)
treec452a1d5327fc33f2c10cb6e305e514d89eeb71c /examples/shared.rs
parent86ce8919aec4623a0816b28f1adcd86db33689c8 (diff)
Deny missing_docs for all examples
Diffstat (limited to 'examples/shared.rs')
-rw-r--r--examples/shared.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/shared.rs b/examples/shared.rs
index 58d64e4..b43a19a 100644
--- a/examples/shared.rs
+++ b/examples/shared.rs
@@ -2,6 +2,7 @@
#![deny(unsafe_code)]
#![deny(warnings)]
+#![deny(missing_docs)]
#![no_main]
#![no_std]
@@ -15,7 +16,9 @@ mod app {
#[shared]
struct Shared {
+ /// Producer
p: Producer<'static, u32, 5>,
+ /// Consumer
c: Consumer<'static, u32, 5>,
}