aboutsummaryrefslogtreecommitdiff
path: root/mling
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-20 01:11:25 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-20 01:11:25 +0800
commit9d491352d161ee629cc47459537344ba0ea4bb35 (patch)
tree40d847da5cfafce48c3ca99c78bcc077da4c4fb2 /mling
parent8749087c5035fbe4c0dce0893a39e0e2265fa130 (diff)
Add shared `MockProgramCollect` and conditional `Groupped` bounds
Extract duplicate `MockCollect` implementations into a reusable `MockProgramCollect` type. Conditionally require `Serialize` on the `Groupped` trait when the `general_renderer` feature is enabled.
Diffstat (limited to 'mling')
-rw-r--r--mling/src/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mling/src/cli.rs b/mling/src/cli.rs
index 6dc7b9e..123cca3 100644
--- a/mling/src/cli.rs
+++ b/mling/src/cli.rs
@@ -8,7 +8,7 @@ use crate::{
};
use colored::Colorize;
use mingling::{
- Program,
+ Groupped, Program,
hook::ProgramHook,
macros::{chain, help, pack, program_setup, r_println, renderer},
res::ResExitCode,