From 9d491352d161ee629cc47459537344ba0ea4bb35 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 20 Jun 2026 01:11:25 +0800 Subject: 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. --- mling/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mling/src/cli.rs') 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, -- cgit