aboutsummaryrefslogtreecommitdiff
path: root/examples/zero-prio-task.rs
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2023-01-19 13:56:59 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:33:30 +0100
commitb8b881f446a226d6f3c4a7db7c9174590b47dbf6 (patch)
treecf74ac7f716c0206df9c5dc4c7a2c1a5893aaddc /examples/zero-prio-task.rs
parent4601782466c518d313ba79d9437bf7a3f8dbbf76 (diff)
Fix so deny(missing_docs) work
Diffstat (limited to 'examples/zero-prio-task.rs')
-rw-r--r--examples/zero-prio-task.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/zero-prio-task.rs b/examples/zero-prio-task.rs
index fc38509..c810e8f 100644
--- a/examples/zero-prio-task.rs
+++ b/examples/zero-prio-task.rs
@@ -1,10 +1,14 @@
+//! examples/zero-prio-task.rs
+
#![no_main]
#![no_std]
#![feature(type_alias_impl_trait)]
+#![deny(missing_docs)]
use core::marker::PhantomData;
use panic_semihosting as _;
+/// Does not impl send
pub struct NotSend {
_0: PhantomData<*const ()>,
}