aboutsummaryrefslogtreecommitdiff
path: root/examples/locals.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/locals.rs
parent86ce8919aec4623a0816b28f1adcd86db33689c8 (diff)
Deny missing_docs for all examples
Diffstat (limited to 'examples/locals.rs')
-rw-r--r--examples/locals.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/locals.rs b/examples/locals.rs
index 1889775..9e112be 100644
--- a/examples/locals.rs
+++ b/examples/locals.rs
@@ -2,6 +2,8 @@
#![deny(unsafe_code)]
#![deny(warnings)]
+#![deny(missing_docs)]
+#![deny(missing_docs)]
#![no_main]
#![no_std]
@@ -16,8 +18,11 @@ mod app {
#[local]
struct Local {
+ /// Local foo
local_to_foo: i64,
+ /// Local bar
local_to_bar: i64,
+ /// Local idle
local_to_idle: i64,
}