aboutsummaryrefslogtreecommitdiff
path: root/examples/static.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/static.rs')
-rw-r--r--examples/static.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/static.rs b/examples/static.rs
index c9aa6046..abeb9c52 100644
--- a/examples/static.rs
+++ b/examples/static.rs
@@ -37,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).unwrap();
+ hprintln!("received message: {}", data);
// Run foo until data
if data == 3 {