aboutsummaryrefslogtreecommitdiff
path: root/examples/init.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/init.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/init.rs b/examples/init.rs
index afd3b98c..b8a5bc5b 100644
--- a/examples/init.rs
+++ b/examples/init.rs
@@ -2,7 +2,6 @@
#![deny(unsafe_code)]
#![deny(warnings)]
-#![deny(missing_docs)]
#![no_main]
#![no_std]
@@ -33,7 +32,7 @@ mod app {
// to indicate that this is a critical seciton
let _cs_token: bare_metal::CriticalSection = cx.cs;
- hprintln!("init");
+ hprintln!("init").unwrap();
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator