aboutsummaryrefslogtreecommitdiff
path: root/examples/t-cfg-resources.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-cfg-resources.rs')
-rw-r--r--examples/t-cfg-resources.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/t-cfg-resources.rs b/examples/t-cfg-resources.rs
index 0174f33..0328700 100644
--- a/examples/t-cfg-resources.rs
+++ b/examples/t-cfg-resources.rs
@@ -1,7 +1,8 @@
//! [compile-pass] check that `#[cfg]` attributes applied on resources work
-//!
+
#![no_main]
#![no_std]
+#![deny(missing_docs)]
use panic_semihosting as _;