From aa9b84a35816e7a119707a4be7a2f19a0160ee44 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 29 Mar 2026 17:10:53 +0800 Subject: Fix indentation and formatting in program modules --- mingling/src/program.rs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'mingling/src/program.rs') diff --git a/mingling/src/program.rs b/mingling/src/program.rs index 9463084..22488ba 100644 --- a/mingling/src/program.rs +++ b/mingling/src/program.rs @@ -65,15 +65,14 @@ where }; // Render result - if stdout_setting.render_output - && !result.is_empty() { - print!("{}", result); - if let Err(e) = tokio::io::stdout().flush().await - && stdout_setting.error_output - { - eprintln!("{}", e); - } + if stdout_setting.render_output && !result.is_empty() { + print!("{}", result); + if let Err(e) = tokio::io::stdout().flush().await + && stdout_setting.error_output + { + eprintln!("{}", e); } + } } } -- cgit