diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-18 16:02:57 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-18 16:02:57 +0800 |
| commit | ab7c5785fb290541ad4361c0d46241817c3ff5f9 (patch) | |
| tree | 042012fe0a6cac2e5da90ccff0df38e64ac50485 /mingling_core/src/program/repl_exec.rs | |
| parent | f1408931eb19f90dd96092ea26bea8d14f5ec804 (diff) | |
Refactor program module into submodules
Diffstat (limited to 'mingling_core/src/program/repl_exec.rs')
| -rw-r--r-- | mingling_core/src/program/repl_exec.rs | 12 |
1 files changed, 12 insertions, 0 deletions
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<C> Program<C> +where + C: ProgramCollect<Enum = C>, +{ + pub fn exec_repl(self) {} +} + +#[cfg(feature = "async")] +impl<C> Program<C> where C: ProgramCollect<Enum = C> {} |
