diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-18 01:53:59 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-18 01:53:59 +0800 |
| commit | f5a4cebde2f12eb980de73ea41eb8d9e133ae49a (patch) | |
| tree | f0b5c550acf5a47cab03df8d3ff7292e7145e6b5 /examples/example-panic-unwind | |
| parent | 7b4c511cbd2429ca482a24b7256de785d9430445 (diff) | |
ix(macros)!: require explicit `.into()` on chain function return values
Diffstat (limited to 'examples/example-panic-unwind')
| -rw-r--r-- | examples/example-panic-unwind/src/main.rs | 2 |
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(), } } |
