diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-17 22:30:50 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-17 22:38:39 +0800 |
| commit | f27f5aeb09616b932ab48f0905994879dd8bafe5 (patch) | |
| tree | 2deea67f7ed910ad824fbcce2330ab5c475e51a0 /examples/example-exit-code/src/main.rs | |
| parent | bdd736ad9899aed74aaa2760c6e068dcae0e6925 (diff) | |
Rename `NextProcess` to `Next` across the codebase
Diffstat (limited to 'examples/example-exit-code/src/main.rs')
| -rw-r--r-- | examples/example-exit-code/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-exit-code/src/main.rs b/examples/example-exit-code/src/main.rs index def96d8..028692e 100644 --- a/examples/example-exit-code/src/main.rs +++ b/examples/example-exit-code/src/main.rs @@ -28,7 +28,7 @@ dispatcher!("error", ErrorCommand => ErrorEntry); pack!(ResultError = ()); #[chain] -fn handle_error_entry(_prev: ErrorEntry) -> NextProcess { +fn handle_error_entry(_prev: ErrorEntry) -> Next { update_exit_code::<ThisProgram>(1); return ResultError::default(); } |
