diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-07 02:25:13 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-07 02:25:13 +0800 |
| commit | e41e8bda221b44d09d7e93ffc43675147ab60a6d (patch) | |
| tree | 149e90fa982abc873a411c8a7e1c441ec2eb77da /mingling_core | |
| parent | 7aa1c1ccfdcbaf90805072751d9d0ae0a77cca6c (diff) | |
Remove unused import of ProgramPanic
Diffstat (limited to 'mingling_core')
| -rw-r--r-- | mingling_core/src/program/once_exec.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mingling_core/src/program/once_exec.rs b/mingling_core/src/program/once_exec.rs index f757893..f6eb0c0 100644 --- a/mingling_core/src/program/once_exec.rs +++ b/mingling_core/src/program/once_exec.rs @@ -1,9 +1,6 @@ use crate::THIS_PROGRAM; use crate::{Program, ProgramCollect, RenderResult, error::ProgramExecuteError}; -#[cfg(not(feature = "async"))] -use crate::error::ProgramPanic; - // Async program #[cfg(feature = "async")] impl<C> Program<C> @@ -163,7 +160,7 @@ where })) { Ok(result) => result, Err(panic_info) => { - let panic_payload = ProgramPanic { + let panic_payload = crate::error::ProgramPanic { payload: panic_info, }; |
