aboutsummaryrefslogtreecommitdiff
path: root/examples/example-panic-unwind
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-panic-unwind')
-rw-r--r--examples/example-panic-unwind/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-panic-unwind/src/main.rs b/examples/example-panic-unwind/src/main.rs
index a829158..d5f746f 100644
--- a/examples/example-panic-unwind/src/main.rs
+++ b/examples/example-panic-unwind/src/main.rs
@@ -47,7 +47,7 @@ fn handle_panic(prev: EntryPanic) -> Next {
// Panic happens here, will be caught
panic!("{}", s)
}
- None => NotPanic::default(),
+ None => NotPanic::default().into(),
}
}