aboutsummaryrefslogtreecommitdiff
path: root/examples/capacity.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/capacity.rs')
-rw-r--r--examples/capacity.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/capacity.rs b/examples/capacity.rs
index a6172698..e625249a 100644
--- a/examples/capacity.rs
+++ b/examples/capacity.rs
@@ -37,12 +37,12 @@ mod app {
#[task(capacity = 4)]
fn foo(_: foo::Context, x: u32) {
- hprintln!("foo({})", x).unwrap();
+ hprintln!("foo({})", x);
}
#[task]
fn bar(_: bar::Context) {
- hprintln!("bar").unwrap();
+ hprintln!("bar");
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
}