aboutsummaryrefslogtreecommitdiff
path: root/examples/resource-user-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/resource-user-struct.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/resource-user-struct.rs b/examples/resource-user-struct.rs
index 37a88560..ae1918d0 100644
--- a/examples/resource-user-struct.rs
+++ b/examples/resource-user-struct.rs
@@ -2,7 +2,6 @@
#![deny(unsafe_code)]
#![deny(warnings)]
-#![deny(missing_docs)]
#![no_main]
#![no_std]
@@ -56,7 +55,7 @@ mod app {
*shared
});
- hprintln!("UART0: shared = {}", shared);
+ hprintln!("UART0: shared = {}", shared).unwrap();
}
// `shared` can be accessed from this context
@@ -67,6 +66,6 @@ mod app {
*shared
});
- hprintln!("UART1: shared = {}", shared);
+ hprintln!("UART1: shared = {}", shared).unwrap();
}
}