From ab7c5785fb290541ad4361c0d46241817c3ff5f9 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 18 May 2026 16:02:57 +0800 Subject: Refactor program module into submodules --- mingling_core/src/program/repl_exec.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mingling_core/src/program/repl_exec.rs (limited to 'mingling_core/src/program/repl_exec.rs') diff --git a/mingling_core/src/program/repl_exec.rs b/mingling_core/src/program/repl_exec.rs new file mode 100644 index 0000000..feeaad9 --- /dev/null +++ b/mingling_core/src/program/repl_exec.rs @@ -0,0 +1,12 @@ +use crate::{Program, ProgramCollect}; + +#[cfg(not(feature = "async"))] +impl Program +where + C: ProgramCollect, +{ + pub fn exec_repl(self) {} +} + +#[cfg(feature = "async")] +impl Program where C: ProgramCollect {} -- cgit