From f27f5aeb09616b932ab48f0905994879dd8bafe5 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Sun, 17 May 2026 22:30:50 +0800 Subject: Rename `NextProcess` to `Next` across the codebase --- mingling_core/src/program/exec.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mingling_core/src/program/exec.rs') 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::(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::(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 -- cgit