aboutsummaryrefslogtreecommitdiff
path: root/examples/not-sync.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/not-sync.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/not-sync.rs b/examples/not-sync.rs
index 68af04a6..aa79ad56 100644
--- a/examples/not-sync.rs
+++ b/examples/not-sync.rs
@@ -2,16 +2,13 @@
// #![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 ()>,
}
@@ -25,7 +22,6 @@ mod app {
#[shared]
struct Shared {
- /// This resource is not Sync
shared: NotSync,
}