From 586c206e50bb8e9a1376f65975f1c9916b1cde7e Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 29 Mar 2026 15:00:09 +0800 Subject: Apply clippy fixes --- mingling/src/program/config.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'mingling/src/program/config.rs') diff --git a/mingling/src/program/config.rs b/mingling/src/program/config.rs index ffcade3..5877abc 100644 --- a/mingling/src/program/config.rs +++ b/mingling/src/program/config.rs @@ -17,6 +17,7 @@ impl Default for ProgramStdoutSetting { } #[derive(Debug, Clone)] +#[derive(Default)] pub struct ProgramUserContext { /// View help information instead of running the command pub help: bool, @@ -25,11 +26,3 @@ pub struct ProgramUserContext { pub confirm: bool, } -impl Default for ProgramUserContext { - fn default() -> Self { - ProgramUserContext { - help: false, - confirm: false, - } - } -} -- cgit