aboutsummaryrefslogtreecommitdiff
path: root/examples/not-sync.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/not-sync.rs
parent4601782466c518d313ba79d9437bf7a3f8dbbf76 (diff)
Fix so deny(missing_docs) work
Diffstat (limited to 'examples/not-sync.rs')
-rw-r--r--examples/not-sync.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/not-sync.rs b/examples/not-sync.rs
index 5d868df..6d1ddae 100644
--- a/examples/not-sync.rs
+++ b/examples/not-sync.rs
@@ -2,6 +2,7 @@
// #![deny(unsafe_code)]
#![deny(warnings)]
+#![deny(missing_docs)]
#![no_main]
#![no_std]
#![feature(type_alias_impl_trait)]
@@ -9,6 +10,7 @@
use core::marker::PhantomData;
use panic_semihosting as _;
+/// Not sync
pub struct NotSync {
_0: PhantomData<*const ()>,
data: u32,