aboutsummaryrefslogtreecommitdiff
path: root/examples/multilock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multilock.rs')
-rw-r--r--examples/multilock.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/multilock.rs b/examples/multilock.rs
index c7085cd5..d99bae69 100644
--- a/examples/multilock.rs
+++ b/examples/multilock.rs
@@ -2,7 +2,6 @@
#![deny(unsafe_code)]
#![deny(warnings)]
-#![deny(missing_docs)]
#![no_main]
#![no_std]
@@ -49,7 +48,7 @@ mod app {
*s2 += 1;
*s3 += 1;
- hprintln!("Multiple locks, s1: {}, s2: {}, s3: {}", *s1, *s2, *s3);
+ hprintln!("Multiple locks, s1: {}, s2: {}, s3: {}", *s1, *s2, *s3).unwrap();
});
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator