diff options
Diffstat (limited to 'examples/extern_spawn.rs')
-rw-r--r-- | examples/extern_spawn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/extern_spawn.rs b/examples/extern_spawn.rs index 7f9b5a5f..2eec2dbc 100644 --- a/examples/extern_spawn.rs +++ b/examples/extern_spawn.rs @@ -10,7 +10,7 @@ use panic_semihosting as _; // Free function implementing the spawnable task `foo`. fn foo(_c: app::foo::Context, x: i32, y: u32) { - hprintln!("foo {}, {}", x, y).unwrap(); + hprintln!("foo {}, {}", x, y); if x == 2 { debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator } |