aboutsummaryrefslogtreecommitdiff
path: root/examples/ramfunc.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/ramfunc.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/ramfunc.rs b/examples/ramfunc.rs
index 956a2554..b3b8012c 100644
--- a/examples/ramfunc.rs
+++ b/examples/ramfunc.rs
@@ -1,7 +1,6 @@
//! examples/ramfunc.rs
#![deny(warnings)]
-#![deny(missing_docs)]
#![no_main]
#![no_std]
@@ -34,7 +33,7 @@ mod app {
#[inline(never)]
#[task]
fn foo(_: foo::Context) {
- hprintln!("foo");
+ hprintln!("foo").unwrap();
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
}