aboutsummaryrefslogtreecommitdiff
path: root/examples/static.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/static.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/static.rs b/examples/static.rs
index efafcc7a..c9aa6046 100644
--- a/examples/static.rs
+++ b/examples/static.rs
@@ -2,7 +2,6 @@
#![deny(unsafe_code)]
#![deny(warnings)]
-#![deny(missing_docs)]
#![no_main]
#![no_std]
@@ -38,7 +37,7 @@ mod app {
loop {
// Lock-free access to the same underlying queue!
if let Some(data) = c.local.c.dequeue() {
- hprintln!("received message: {}", data);
+ hprintln!("received message: {}", data).unwrap();
// Run foo until data
if data == 3 {