From 95c6b979ca399671eed8bf9c72f53cfe5d46f431 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Wed, 13 May 2026 07:28:02 +0800 Subject: Migrate exit code control to resource-based system --- mingling_core/src/program/exec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 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 acd1bd6..c5ba628 100644 --- a/mingling_core/src/program/exec.rs +++ b/mingling_core/src/program/exec.rs @@ -13,7 +13,7 @@ pub async fn exec( program: &'static Program, ) -> Result where - C: ProgramCollect + std::fmt::Display, + C: ProgramCollect, { // Run hooks program.run_hook_on_begin(); @@ -105,7 +105,7 @@ where #[cfg(not(feature = "async"))] pub fn exec(program: &'static Program) -> Result where - C: ProgramCollect + std::fmt::Display, + C: ProgramCollect, { // Run hooks program.run_hook_on_begin(); -- cgit