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 /mingling_core/src/program | |
| parent | bdd736ad9899aed74aaa2760c6e068dcae0e6925 (diff) | |
Rename `NextProcess` to `Next` across the codebase
Diffstat (limited to 'mingling_core/src/program')
| -rw-r--r-- | mingling_core/src/program/exec.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mingling_core/src/program/exec.rs b/mingling_core/src/program/exec.rs index 7f7aee4..969b64e 100644 --- a/mingling_core/src/program/exec.rs +++ b/mingling_core/src/program/exec.rs @@ -1,7 +1,7 @@ #![allow(clippy::borrowed_box)] use crate::{ - AnyOutput, ChainProcess, Dispatcher, Next, Program, ProgramCollect, RenderResult, + AnyOutput, ChainProcess, Dispatcher, NextProcess, Program, ProgramCollect, RenderResult, error::ProgramInternalExecuteError, }; @@ -50,7 +50,7 @@ where program.run_hook_pre_chain(¤t.member_id, current.inner.as_ref()); match C::do_chain(current).await { - ChainProcess::Ok((any, Next::Renderer)) => { + ChainProcess::Ok((any, NextProcess::Renderer)) => { let mut render_result = render::<C>(program, any); // Run hook @@ -58,7 +58,7 @@ where return Ok(render_result); } - ChainProcess::Ok((any, Next::Chain)) => { + ChainProcess::Ok((any, NextProcess::Chain)) => { // Run hook program.run_hook_post_chain(&any); any @@ -142,7 +142,7 @@ where program.run_hook_pre_chain(¤t.member_id, current.inner.as_ref()); match C::do_chain(current) { - ChainProcess::Ok((any, Next::Renderer)) => { + ChainProcess::Ok((any, NextProcess::Renderer)) => { { let mut render_result = render::<C>(program, any); @@ -152,7 +152,7 @@ where return Ok(render_result); }; } - ChainProcess::Ok((any, Next::Chain)) => { + ChainProcess::Ok((any, NextProcess::Chain)) => { // Run hook program.run_hook_post_chain(&any); any |
